19 #ifndef PAGESPEED_KERNEL_UTIL_URL_SEGMENT_ENCODER_H_
20 #define PAGESPEED_KERNEL_UTIL_URL_SEGMENT_ENCODER_H_
26 namespace net_instaweb {
29 class ResourceContext;
45 virtual void Encode(
const StringVector& urls,
const ResourceContext* data,
51 virtual bool Decode(
const StringPiece& url_segment,
52 StringVector* urls, ResourceContext* out_data,
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: url_segment_encoder.h:33
Definition: message_handler.h:39
virtual bool Decode(const StringPiece &url_segment, StringVector *urls, ResourceContext *out_data, MessageHandler *handler) const
virtual void Encode(const StringVector &urls, const ResourceContext *data, GoogleString *url_segment) const