22 #ifndef PAGESPEED_KERNEL_UTIL_SOURCE_MAP_H_
23 #define PAGESPEED_KERNEL_UTIL_SOURCE_MAP_H_
31 namespace net_instaweb {
33 namespace source_map {
45 Mapping() : gen_line(0), gen_col(0), src_file(0), src_line(0), src_col(0) {}
46 Mapping(
int gen_line_arg,
int gen_col_arg,
47 int src_file_arg,
int src_line_arg,
int src_col_arg)
48 : gen_line(gen_line_arg),
50 src_file(src_file_arg),
51 src_line(src_line_arg),
52 src_col(src_col_arg) {
56 typedef std::vector<Mapping> MappingVector;
61 bool Encode(StringPiece generated_url,
62 StringPiece source_url,
64 const MappingVector& mappings,
75 char EncodeBase64(
int val);
81 bool EncodeMappings(
const MappingVector& mappings,
Definition: source_map.h:37
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24