1 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_DATA_URL_INPUT_RESOURCE_H_
2 #define NET_INSTAWEB_REWRITER_PUBLIC_DATA_URL_INPUT_RESOURCE_H_
26 #include "net/instaweb/http/public/request_context.h"
34 namespace net_instaweb {
47 StringPiece encoded_contents;
52 url.CopyToString(url_copy);
53 if (
ParseDataUrl(*url_copy, &type, &encoding, &encoded_contents)) {
55 encoded_contents, driver));
75 AsyncCallback* callback);
81 const StringPiece& encoded_contents,
86 const StringPiece encoded_contents_;
bool ParseDataUrl(const StringPiece &url, const ContentType **content_type, Encoding *encoding, StringPiece *encoded_content)
Encoding
Definition: data_url.h:28
Definition: resource.h:57
NotCacheablePolicy
Definition: resource.h:68
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
Definition: rewrite_driver.h:100
Definition: content_type.h:31