18 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_CSS_URL_ENCODER_H_
19 #define NET_INSTAWEB_REWRITER_PUBLIC_CSS_URL_ENCODER_H_
26 namespace net_instaweb {
28 class RequestProperties;
30 class ResourceContext;
54 virtual void Encode(
const StringVector& urls,
55 const ResourceContext* encoding,
58 virtual bool Decode(
const StringPiece& url_segment,
65 ResourceContext* resource_context);
virtual bool Decode(const StringPiece &url_segment, StringVector *urls, ResourceContext *dim, MessageHandler *handler) const
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual void Encode(const StringVector &urls, const ResourceContext *encoding, GoogleString *rewritten_url) const
Definition: url_segment_encoder.h:33
Definition: message_handler.h:39
Definition: css_url_encoder.h:49
static void SetInliningImages(const RequestProperties &request_properties, ResourceContext *resource_context)
Sets Inlining of image according to the user agent.
Definition: request_properties.h:37