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

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

Issue 14200011: Cleanup: Return additional schemes vector as out parameter from GetAdditionalWebUISchemes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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') | no next file » | 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 18 matching lines...) Expand all
29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, 29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context,
30 const GURL& url) { 30 const GURL& url) {
31 return url; 31 return url;
32 } 32 }
33 33
34 bool ContentBrowserClient::ShouldUseProcessPerSite( 34 bool ContentBrowserClient::ShouldUseProcessPerSite(
35 BrowserContext* browser_context, const GURL& effective_url) { 35 BrowserContext* browser_context, const GURL& effective_url) {
36 return false; 36 return false;
37 } 37 }
38 38
39 std::vector<std::string> ContentBrowserClient::GetAdditionalWebUISchemes() {
40 return std::vector<std::string>();
41 }
42
43 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext( 39 net::URLRequestContextGetter* ContentBrowserClient::CreateRequestContext(
44 BrowserContext* browser_context, 40 BrowserContext* browser_context,
45 ProtocolHandlerMap* protocol_handlers) { 41 ProtocolHandlerMap* protocol_handlers) {
46 return NULL; 42 return NULL;
47 } 43 }
48 44
49 net::URLRequestContextGetter* 45 net::URLRequestContextGetter*
50 ContentBrowserClient::CreateRequestContextForStoragePartition( 46 ContentBrowserClient::CreateRequestContextForStoragePartition(
51 BrowserContext* browser_context, 47 BrowserContext* browser_context,
52 const base::FilePath& partition_path, 48 const base::FilePath& partition_path,
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 #endif 270 #endif
275 271
276 #if defined(USE_NSS) 272 #if defined(USE_NSS)
277 crypto::CryptoModuleBlockingPasswordDelegate* 273 crypto::CryptoModuleBlockingPasswordDelegate*
278 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 274 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
279 return NULL; 275 return NULL;
280 } 276 }
281 #endif 277 #endif
282 278
283 } // namespace content 279 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698