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

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

Issue 10546029: Revert 139933 - Clean up RenderViewHostManager swapping logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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')
Property Changes:
Deleted: svn:eol-style
- LF
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 "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.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::ShouldSwapBrowsingInstanceForNavigation( 56 bool ContentBrowserClient::ShouldSwapProcessesForNavigation(
57 BrowserContext* browser_context, 57 const GURL& current_url,
58 const GURL& current_url, 58 const GURL& new_url) {
59 const GURL& new_url) {
60 return false; 59 return false;
61 } 60 }
62 61
63 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 62 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
64 ResourceContext* resource_context, const GURL& current_url, 63 ResourceContext* resource_context, const GURL& current_url,
65 const GURL& new_url) { 64 const GURL& new_url) {
66 return false; 65 return false;
67 } 66 }
68 67
69 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName( 68 std::string ContentBrowserClient::GetCanonicalEncodingNameByAliasName(
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 #endif 216 #endif
218 217
219 #if defined(USE_NSS) 218 #if defined(USE_NSS)
220 crypto::CryptoModuleBlockingPasswordDelegate* 219 crypto::CryptoModuleBlockingPasswordDelegate*
221 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 220 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
222 return NULL; 221 return NULL;
223 } 222 }
224 #endif 223 #endif
225 224
226 } // namespace content 225 } // 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