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

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

Issue 76063007: Clean up RenderViewHostManager swapping logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 years 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 "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, 68 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host,
69 const GURL& site_url) { 69 const GURL& site_url) {
70 return true; 70 return true;
71 } 71 }
72 72
73 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( 73 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost(
74 BrowserContext* browser_context, const GURL& url) { 74 BrowserContext* browser_context, const GURL& url) {
75 return false; 75 return false;
76 } 76 }
77 77
78 bool ContentBrowserClient::ShouldSwapProcessesForNavigation( 78 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation(
79 SiteInstance* site_instance, 79 SiteInstance* site_instance,
80 const GURL& current_url, 80 const GURL& current_url,
81 const GURL& new_url) { 81 const GURL& new_url) {
82 return false; 82 return false;
83 } 83 }
84 84
85 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 85 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
86 ResourceContext* resource_context, const GURL& current_url, 86 ResourceContext* resource_context, const GURL& current_url,
87 const GURL& new_url) { 87 const GURL& new_url) {
88 return false; 88 return false;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 } 305 }
306 #endif 306 #endif
307 307
308 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( 308 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle(
309 content::BrowserContext* browser_context, 309 content::BrowserContext* browser_context,
310 const GURL& url) { 310 const GURL& url) {
311 return false; 311 return false;
312 } 312 }
313 313
314 } // namespace content 314 } // 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