Page Speed Optimization Libraries
1.13.35.1
|
#include <vector>
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"
Go to the source code of this file.
Classes | |
struct | net_instaweb::source_map::Mapping |
Namespaces | |
net_instaweb | |
Unit-test framework for wget fetcher. | |
Typedefs | |
typedef std::vector< Mapping > | net_instaweb::source_map::MappingVector |
Functions | |
bool | net_instaweb::source_map::Encode (StringPiece generated_url, StringPiece source_url, const MappingVector &mappings, GoogleString *encoded_source_map) |
char | net_instaweb::source_map::EncodeBase64 (int val) |
Simply convert val 0-63 into a base64 char. More... | |
GoogleString | net_instaweb::source_map::EncodeVlq (int32 val) |
bool | net_instaweb::source_map::EncodeMappings (const MappingVector &mappings, GoogleString *result) |
Encodes mappings into a sequence of ; and , separated VLQ base64 values. | |
GoogleString | net_instaweb::source_map::PercentEncode (StringPiece url) |
Percent encode < and > in URLs to avoid XSS shenanigans. | |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Encoder for Source Map Revision 3. Specification and other info: