| Index: android_webview/browser/aw_content_browser_client.cc
|
| diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
|
| index 3d8185ed6e286cacc768f3064958ca3cb0085894..aa22873e6e7ba4ed8171b3190bd7d2122a1a5c86 100644
|
| --- a/android_webview/browser/aw_content_browser_client.cc
|
| +++ b/android_webview/browser/aw_content_browser_client.cc
|
| @@ -119,20 +119,11 @@ net::URLRequestContextGetter*
|
| AwContentBrowserClient::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) {
|
| + ProtocolHandlerMap* protocol_handlers) {
|
| DCHECK(browser_context_.get() == browser_context);
|
| return browser_context_->CreateRequestContext(
|
| - blob_protocol_handler.Pass(), file_system_protocol_handler.Pass(),
|
| - developer_protocol_handler.Pass(), chrome_protocol_handler.Pass(),
|
| - chrome_devtools_protocol_handler.Pass());
|
| + developer_protocol_handler.Pass(), protocol_handlers);
|
| }
|
|
|
| net::URLRequestContextGetter*
|
| @@ -141,21 +132,12 @@ AwContentBrowserClient::CreateRequestContextForStoragePartition(
|
| const base::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) {
|
| + ProtocolHandlerMap* protocol_handlers) {
|
| DCHECK(browser_context_.get() == browser_context);
|
| return browser_context_->CreateRequestContextForStoragePartition(
|
| - partition_path, in_memory, blob_protocol_handler.Pass(),
|
| - file_system_protocol_handler.Pass(),
|
| - developer_protocol_handler.Pass(), chrome_protocol_handler.Pass(),
|
| - chrome_devtools_protocol_handler.Pass());
|
| + partition_path, in_memory, developer_protocol_handler.Pass(),
|
| + protocol_handlers);
|
| }
|
|
|
| std::string AwContentBrowserClient::GetCanonicalEncodingNameByAliasName(
|
|
|