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 a2c1f3c67bbed0db8c913fa30d7ed9ce877184b0..7ed35fad1eaf32030f3fc2ffe10e5c1e1f904276 100644 |
--- a/content/child/web_url_loader_impl.h |
+++ b/content/child/web_url_loader_impl.h |
@@ -5,14 +5,24 @@ |
#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 content { |
struct ResourceResponseInfo; |
+// Extracts the information from a data scheme URL. Returns an error code. |
+// Exported only for testing. |
+CONTENT_EXPORT int GetInfoFromDataURL(const GURL& url, |
+ ResourceResponseInfo* info, |
+ std::string* data); |
+ |
class WebURLLoaderImpl : public blink::WebURLLoader { |
public: |
WebURLLoaderImpl(); |