Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 12386009: Remove the chrome:// protocol interceptor since it's not used anymore now that the chrome job facto… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_browser_context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 25 matching lines...) Expand all
36 return false; 36 return false;
37 } 37 }
38 38
39 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( 39 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext(
40 BrowserContext* browser_context, 40 BrowserContext* browser_context,
41 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 41 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
42 blob_protocol_handler, 42 blob_protocol_handler,
43 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 43 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
44 file_system_protocol_handler, 44 file_system_protocol_handler,
45 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 45 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
46 developer_protocol_handler,
47 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
48 chrome_protocol_handler, 46 chrome_protocol_handler,
49 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 47 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
50 chrome_devtools_protocol_handler) { 48 chrome_devtools_protocol_handler) {
51 return NULL; 49 return NULL;
52 } 50 }
53 51
54 net::URLRequestContextGetter* 52 net::URLRequestContextGetter*
55 ContentBrowserClient::CreateRequestContextForStoragePartition( 53 ContentBrowserClient::CreateRequestContextForStoragePartition(
56 BrowserContext* browser_context, 54 BrowserContext* browser_context,
57 const base::FilePath& partition_path, 55 const base::FilePath& partition_path,
58 bool in_memory, 56 bool in_memory,
59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 57 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
60 blob_protocol_handler, 58 blob_protocol_handler,
61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 59 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
62 file_system_protocol_handler, 60 file_system_protocol_handler,
63 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 61 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
64 developer_protocol_handler,
65 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
66 chrome_protocol_handler, 62 chrome_protocol_handler,
67 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 63 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
68 chrome_devtools_protocol_handler) { 64 chrome_devtools_protocol_handler) {
69 return NULL; 65 return NULL;
70 } 66 }
71 67
72 bool ContentBrowserClient::IsHandledURL(const GURL& url) { 68 bool ContentBrowserClient::IsHandledURL(const GURL& url) {
73 return false; 69 return false;
74 } 70 }
75 71
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 #endif 279 #endif
284 280
285 #if defined(USE_NSS) 281 #if defined(USE_NSS)
286 crypto::CryptoModuleBlockingPasswordDelegate* 282 crypto::CryptoModuleBlockingPasswordDelegate*
287 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 283 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
288 return NULL; 284 return NULL;
289 } 285 }
290 #endif 286 #endif
291 287
292 } // namespace content 288 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/shell/shell_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698