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

Unified Diff: chrome/browser/ui/chrome_pages.cc

Issue 2835023002: Remove obsolete chrome://settings/power redirect for MD Settings (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/chrome_pages.cc
diff --git a/chrome/browser/ui/chrome_pages.cc b/chrome/browser/ui/chrome_pages.cc
index 7ec42c004c05123bf61aac887cb651534a7b56b5..fb25d5ce4ba2139607d246a60ac5f11429daec62 100644
--- a/chrome/browser/ui/chrome_pages.cc
+++ b/chrome/browser/ui/chrome_pages.cc
@@ -319,12 +319,6 @@ void ShowSettingsSubPageForProfile(Profile* profile,
sub_page == chrome::kPowerSubPage) {
sub_page_path += "-overlay";
}
- } else {
- if (sub_page == chrome::kPowerSubPage) {
- // TODO(stevenjbj/derat): Remove this once we have a 'power' subpage,
- // crbug.com/633455.
- sub_page_path = "device";
- }
}
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698