| Index: content/shell/browser/shell_content_browser_client.cc
|
| diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
|
| index 73d258f8661ae98127906986ad943f912fa3363c..904133c2163f674eb4db2cccba3c1839d503f552 100644
|
| --- a/content/shell/browser/shell_content_browser_client.cc
|
| +++ b/content/shell/browser/shell_content_browser_client.cc
|
| @@ -157,30 +157,6 @@ bool ShellContentBrowserClient::DoesSiteRequireDedicatedProcess(
|
| return base::MatchPattern(origin, pattern);
|
| }
|
|
|
| -net::URLRequestContextGetter* ShellContentBrowserClient::CreateRequestContext(
|
| - BrowserContext* content_browser_context,
|
| - ProtocolHandlerMap* protocol_handlers,
|
| - URLRequestInterceptorScopedVector request_interceptors) {
|
| - ShellBrowserContext* shell_browser_context =
|
| - ShellBrowserContextForBrowserContext(content_browser_context);
|
| - return shell_browser_context->CreateRequestContext(
|
| - protocol_handlers, std::move(request_interceptors));
|
| -}
|
| -
|
| -net::URLRequestContextGetter*
|
| -ShellContentBrowserClient::CreateRequestContextForStoragePartition(
|
| - BrowserContext* content_browser_context,
|
| - const base::FilePath& partition_path,
|
| - bool in_memory,
|
| - ProtocolHandlerMap* protocol_handlers,
|
| - URLRequestInterceptorScopedVector request_interceptors) {
|
| - ShellBrowserContext* shell_browser_context =
|
| - ShellBrowserContextForBrowserContext(content_browser_context);
|
| - return shell_browser_context->CreateRequestContextForStoragePartition(
|
| - partition_path, in_memory, protocol_handlers,
|
| - std::move(request_interceptors));
|
| -}
|
| -
|
| bool ShellContentBrowserClient::IsHandledURL(const GURL& url) {
|
| if (!url.is_valid())
|
| return false;
|
| @@ -380,13 +356,4 @@ AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() {
|
| return new ShellAccessTokenStore(browser_context());
|
| }
|
|
|
| -ShellBrowserContext*
|
| -ShellContentBrowserClient::ShellBrowserContextForBrowserContext(
|
| - BrowserContext* content_browser_context) {
|
| - if (content_browser_context == browser_context())
|
| - return browser_context();
|
| - DCHECK_EQ(content_browser_context, off_the_record_browser_context());
|
| - return off_the_record_browser_context();
|
| -}
|
| -
|
| } // namespace content
|
|
|