Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 3e4a3e99694f98666f8362f3da9208763b6a81a4..bca90210dbd227d3da630cf66a320d2291228225 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1075,9 +1075,11 @@ void ChromeContentBrowserClient::GetAdditionalWebUISchemes( |
net::URLRequestContextGetter* |
ChromeContentBrowserClient::CreateRequestContext( |
content::BrowserContext* browser_context, |
- content::ProtocolHandlerMap* protocol_handlers) { |
+ content::ProtocolHandlerMap* protocol_handlers, |
+ content::ProtocolHandlerScopedVector protocol_interceptors) { |
Profile* profile = Profile::FromBrowserContext(browser_context); |
- return profile->CreateRequestContext(protocol_handlers); |
+ return profile->CreateRequestContext( |
+ protocol_handlers, protocol_interceptors.Pass()); |
} |
net::URLRequestContextGetter* |
@@ -1085,10 +1087,12 @@ ChromeContentBrowserClient::CreateRequestContextForStoragePartition( |
content::BrowserContext* browser_context, |
const base::FilePath& partition_path, |
bool in_memory, |
- content::ProtocolHandlerMap* protocol_handlers) { |
+ content::ProtocolHandlerMap* protocol_handlers, |
+ content::ProtocolHandlerScopedVector protocol_interceptors) { |
Profile* profile = Profile::FromBrowserContext(browser_context); |
return profile->CreateRequestContextForStoragePartition( |
- partition_path, in_memory, protocol_handlers); |
+ partition_path, in_memory, |
+ protocol_handlers, protocol_interceptors.Pass()); |
} |
bool ChromeContentBrowserClient::IsHandledURL(const GURL& url) { |