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

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

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
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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Creates the main net::URLRequestContextGetter. Should only be called once 142 // Creates the main net::URLRequestContextGetter. Should only be called once
143 // per ContentBrowserClient object. 143 // per ContentBrowserClient object.
144 // TODO(ajwong): Remove once http://crbug.com/159193 is resolved. 144 // TODO(ajwong): Remove once http://crbug.com/159193 is resolved.
145 virtual net::URLRequestContextGetter* CreateRequestContext( 145 virtual net::URLRequestContextGetter* CreateRequestContext(
146 BrowserContext* browser_context, 146 BrowserContext* browser_context,
147 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 147 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
148 blob_protocol_handler, 148 blob_protocol_handler,
149 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 149 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
150 file_system_protocol_handler, 150 file_system_protocol_handler,
151 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 151 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
152 developer_protocol_handler,
153 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
154 chrome_protocol_handler, 152 chrome_protocol_handler,
155 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 153 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
156 chrome_devtools_protocol_handler); 154 chrome_devtools_protocol_handler);
157 155
158 // Creates the net::URLRequestContextGetter for a StoragePartition. Should 156 // Creates the net::URLRequestContextGetter for a StoragePartition. Should
159 // only be called once per partition_path per ContentBrowserClient object. 157 // only be called once per partition_path per ContentBrowserClient object.
160 // TODO(ajwong): Remove once http://crbug.com/159193 is resolved. 158 // TODO(ajwong): Remove once http://crbug.com/159193 is resolved.
161 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 159 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
162 BrowserContext* browser_context, 160 BrowserContext* browser_context,
163 const base::FilePath& partition_path, 161 const base::FilePath& partition_path,
164 bool in_memory, 162 bool in_memory,
165 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 163 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
166 blob_protocol_handler, 164 blob_protocol_handler,
167 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 165 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
168 file_system_protocol_handler, 166 file_system_protocol_handler,
169 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 167 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
170 developer_protocol_handler,
171 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
172 chrome_protocol_handler, 168 chrome_protocol_handler,
173 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler> 169 scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
174 chrome_devtools_protocol_handler); 170 chrome_devtools_protocol_handler);
175 171
176 // Returns whether a specified URL is handled by the embedder's internal 172 // Returns whether a specified URL is handled by the embedder's internal
177 // protocol handlers. 173 // protocol handlers.
178 virtual bool IsHandledURL(const GURL& url); 174 virtual bool IsHandledURL(const GURL& url);
179 175
180 // Returns whether a new view for a given |site_url| can be launched in a 176 // Returns whether a new view for a given |site_url| can be launched in a
181 // given |process_host|. 177 // given |process_host|.
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // This is called on a worker thread. 507 // This is called on a worker thread.
512 virtual 508 virtual
513 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 509 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
514 const GURL& url); 510 const GURL& url);
515 #endif 511 #endif
516 }; 512 };
517 513
518 } // namespace content 514 } // namespace content
519 515
520 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 516 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698