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

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

Issue 923183003: Move URL fixup to a preliminary phase that doesn't affect virtual URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leak in test. Created 5 years, 10 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 519ff938994e0be0e65e8128962630d0f203b359..6f7dd3724e251855678ccaee283342cdd25a27a9 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -504,6 +504,11 @@ class CONTENT_EXPORT ContentBrowserClient {
// optionally add their own handlers.
virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) {}
+ // Allows the embedder to perform minor cleanup on URLs before they are
+ // rewritten by the BrowserURLHandler. This is important in cases that the
+ // cleanup should not be treated as part of the rewriting.
+ virtual GURL FixupURL(const GURL& url);
+
// Clears browser cache.
virtual void ClearCache(RenderViewHost* rvh) {}

Powered by Google App Engine
This is Rietveld 408576698