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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 8623001: Move remaining about: handlers to webUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « chrome/browser/browser_about_handler_unittest.cc ('k') | chrome/browser/ui/webui/about_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 112219)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -1035,7 +1035,9 @@
handler->AddHandlerPair(BrowserURLHandler::null_handler(),
&ExtensionWebUI::HandleChromeURLOverrideReverse);
- // about:
+ // about: handler. Must come before chrome: handler, since it will
+ // rewrite about: urls to chrome: URLs and then expect chrome: to
+ // actually handle them.
handler->AddHandlerPair(&WillHandleBrowserAboutURL,
BrowserURLHandler::null_handler());
// chrome: & friends.
« no previous file with comments | « chrome/browser/browser_about_handler_unittest.cc ('k') | chrome/browser/ui/webui/about_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698