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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2397893002: Revert the merge of CrossSiteResourceHandler and NavigationResourceThrottle. (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 31333c5761b15ab0047c9548c23c35189bb40f4f..44bab183d497cb6bd96289f88de98df1b64e46b9 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -278,7 +278,8 @@ class CONTENT_EXPORT ContentBrowserClient {
// Returns true if the given navigation redirect should cause a renderer
// process swap.
- virtual bool ShouldSwapProcessesForRedirect(BrowserContext* browser_context,
+ // This is called on the IO thread.
+ virtual bool ShouldSwapProcessesForRedirect(ResourceContext* resource_context,
const GURL& current_url,
const GURL& new_url);

Powered by Google App Engine
This is Rietveld 408576698