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

Unified Diff: content/public/browser/browser_url_handler.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: Avoid duplicate code 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
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_url_handler.h
diff --git a/content/public/browser/browser_url_handler.h b/content/public/browser/browser_url_handler.h
index 4fabec3c92558de7c0f148d036dff9e0b0d6f240..964741f6861d6fc72f97f54b3a7d566a5059a82b 100644
--- a/content/public/browser/browser_url_handler.h
+++ b/content/public/browser/browser_url_handler.h
@@ -43,6 +43,11 @@ class CONTENT_EXPORT BrowserURLHandler {
BrowserContext* browser_context,
bool* reverse_on_redirect) = 0;
+ // Set the specified handler as a preliminary fixup phase to be done before
+ // rewriting. This allows minor cleanup for the URL without having it affect
+ // the virtual URL.
+ virtual void SetFixupHandler(URLHandler handler) = 0;
+
// Add the specified handler pair to the list of URL handlers.
//
// Note that normally, the reverse handler is only used if the modified URL is
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698