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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 2697723006: MD Settings: Fix subpage URLS for CrOS (Closed)
Patch Set: Fix browser_tests Created 3 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: chrome/browser/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 48cd0a17623a4fb4d491b3b4e84058895ec567f7..a89d62b817375383b7648ce2fd1c6227bcbe737e 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -80,7 +80,8 @@ bool WillHandleBrowserAboutURL(GURL* url,
}
// Redirect chrome://settings/extensions (legacy URL).
} else if (host == chrome::kChromeUISettingsHost &&
- url->path() == std::string("/") + chrome::kExtensionsSubPage) {
+ url->path() ==
+ std::string("/") + chrome::kDeprecatedExtensionsSubPage) {
host = chrome::kChromeUIUberHost;
path = chrome::kChromeUIExtensionsHost;
#endif // BUILDFLAG(ENABLE_EXTENSIONS)

Powered by Google App Engine
This is Rietveld 408576698