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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 9318019: [uber page] Improve URL mapping for extension URLS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Add todo. Created 8 years, 11 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 | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
===================================================================
--- chrome/browser/browser_about_handler.cc (revision 119926)
+++ chrome/browser/browser_about_handler.cc (working copy)
@@ -134,6 +134,13 @@
host = chrome::kChromeUISettingsHost;
path = chrome::kExtensionsSubPage;
}
+ // Redirect chrome://settings/extensions.
+ // TODO(csilv): Fix all code paths for this page once Uber page is enabled
+ // permanently.
+ } else if (enableUberPage && host == chrome::kChromeUISettingsHost &&
+ url->path() == std::string("/") + chrome::kExtensionsSubPage) {
+ host = chrome::kChromeUIUberHost;
+ path = chrome::kChromeUIExtensionsHost;
// Redirect chrome://settings
} else if (enableUberPage && host == chrome::kChromeUISettingsHost) {
host = chrome::kChromeUIUberHost;
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698