| 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..78d8e271549d5f1418220bddf03b8dda332900de 100644
|
| --- a/android_webview/browser/aw_content_browser_client.cc
|
| +++ b/android_webview/browser/aw_content_browser_client.cc
|
| @@ -118,21 +118,9 @@ void AwContentBrowserClient::RenderProcessHostCreated(
|
| 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) {
|
| + content::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());
|
| + return browser_context_->CreateRequestContext(protocol_handlers);
|
| }
|
|
|
| net::URLRequestContextGetter*
|
| @@ -140,22 +128,10 @@ AwContentBrowserClient::CreateRequestContextForStoragePartition(
|
| content::BrowserContext* browser_context,
|
| 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) {
|
| + content::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, protocol_handlers);
|
| }
|
|
|
| std::string AwContentBrowserClient::GetCanonicalEncodingNameByAliasName(
|
|
|