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

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

Issue 9965091: Clean up RenderViewHostManager swapping logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments. Created 8 years, 6 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/file_path.h" 7 #include "base/file_path.h"
8 #include "third_party/skia/include/core/SkBitmap.h" 8 #include "third_party/skia/include/core/SkBitmap.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, 46 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host,
47 const GURL& site_url) { 47 const GURL& site_url) {
48 return true; 48 return true;
49 } 49 }
50 50
51 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( 51 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost(
52 BrowserContext* browser_context, const GURL& url) { 52 BrowserContext* browser_context, const GURL& url) {
53 return false; 53 return false;
54 } 54 }
55 55
56 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( 56 bool ContentBrowserClient::ShouldSwapBrowsingInstanceForNavigation(
57 const GURL& current_url, 57 BrowserContext* browser_context,
58 const GURL& new_url) { 58 const GURL& current_url,
59 const GURL& new_url) {
59 return false; 60 return false;
60 } 61 }
61 62
62 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 63 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
63 ResourceContext* resource_context, const GURL& current_url, 64 ResourceContext* resource_context, const GURL& current_url,
64 const GURL& new_url) { 65 const GURL& new_url) {
65 return false; 66 return false;
66 } 67 }
67 68
68 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( 69 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName(
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 #endif 217 #endif
217 218
218 #if defined(USE_NSS) 219 #if defined(USE_NSS)
219 crypto::CryptoModuleBlockingPasswordDelegate* 220 crypto::CryptoModuleBlockingPasswordDelegate*
220 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 221 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
221 return NULL; 222 return NULL;
222 } 223 }
223 #endif 224 #endif
224 225
225 } // namespace content 226 } // 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