Index: android_webview/browser/aw_content_browser_client.h |
diff --git a/android_webview/browser/aw_content_browser_client.h b/android_webview/browser/aw_content_browser_client.h |
index 41bed687bc7da452a82167d540381aba27f85af6..040cb9400b96a8fa9517cb4b1d9a19bc505e9f4c 100644 |
--- a/android_webview/browser/aw_content_browser_client.h |
+++ b/android_webview/browser/aw_content_browser_client.h |
@@ -5,10 +5,12 @@ |
#ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
#define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
-#include "content/public/browser/content_browser_client.h" |
- |
#include "android_webview/browser/aw_browser_context.h" |
+#include "base/basictypes.h" |
#include "base/compiler_specific.h" |
+#include "base/memory/scoped_ptr.h" |
+#include "content/public/browser/content_browser_client.h" |
+#include "net/url_request/url_request_job_factory.h" |
namespace android_webview { |
@@ -31,6 +33,32 @@ class AwContentBrowserClient : public content::ContentBrowserClient { |
content::WebContents* web_contents) OVERRIDE; |
virtual void RenderProcessHostCreated( |
content::RenderProcessHost* host) OVERRIDE; |
+ virtual net::URLRequestContextGetter* CreateRequestContext( |
+ content::BrowserContext* browser_context, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ blob_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ file_system_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ developer_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_devtools_protocol_handler) OVERRIDE; |
+ virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
+ content::BrowserContext* browser_context, |
+ const FilePath& partition_path, |
+ bool in_memory, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ blob_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ file_system_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ developer_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_protocol_handler, |
+ scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> |
+ chrome_devtools_protocol_handler) OVERRIDE; |
virtual std::string GetCanonicalEncodingNameByAliasName( |
const std::string& alias_name) OVERRIDE; |
virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, |