Index: content/child/web_url_loader_impl.h |
diff --git a/content/child/web_url_loader_impl.h b/content/child/web_url_loader_impl.h |
index 94f72a152c26cfca04efa05b2fc4faa7737f455f..fff9ae833628c308414da2f995e676e40ab73d6b 100644 |
--- a/content/child/web_url_loader_impl.h |
+++ b/content/child/web_url_loader_impl.h |
@@ -5,16 +5,26 @@ |
#ifndef CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
#define CONTENT_CHILD_WEB_URL_LOADER_IMPL_H_ |
+#include <string> |
+ |
#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/WebURLLoader.h" |
+class GURL; |
+ |
namespace webkit_glue { |
struct ResourceResponseInfo; |
} |
namespace content { |
+// Extracts the information from a data scheme URL. Exported only for testing. |
+CONTENT_EXPORT bool GetInfoFromDataURL(const GURL& url, |
+ webkit_glue::ResourceResponseInfo* info, |
+ std::string* data, |
+ int* error_code); |
+ |
class WebURLLoaderImpl : public blink::WebURLLoader { |
public: |
WebURLLoaderImpl(); |