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 01e65b81e9e338d8bc61a7c504347aa19964ad11..275da0497a809358f829f1c1eb270e94f844fa64 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/macros.h" |
#include "base/memory/ref_counted.h" |
#include "content/common/content_export.h" |
#include "third_party/WebKit/public/platform/WebURLLoader.h" |
+class GURL; |
+ |
namespace content { |
class ResourceDispatcher; |
struct ResourceResponseInfo; |
+// Extracts info from a data scheme URL into |info| and |data|. Returns net::OK |
+// if successful. Returns a net error code otherwise. Exported only for testing. |
+CONTENT_EXPORT int GetInfoFromDataURL(const GURL& url, |
+ ResourceResponseInfo* info, |
+ std::string* data); |
+ |
class CONTENT_EXPORT WebURLLoaderImpl |
: public NON_EXPORTED_BASE(blink::WebURLLoader) { |
public: |