Open management page from managed ui footnote
Bug: 933517
Change-Id: I25a5de9d70545623bce187fe21843fbb185b9009
Reviewed-on: https://chromium-review.googlesource.com/c/1478109
Commit-Queue: Yann Dago <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Steven Bennetts <[email protected]>
Cr-Commit-Position: refs/heads/master@{#635791}diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index c395f7a..56abd1c 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -686,8 +686,8 @@
case IDC_WINDOW_PIN_TAB:
PinTab(browser_);
break;
- case IDC_MANAGED_UI_HELP:
- ShowSingletonTab(browser_, GURL(kManagedUiLearnMoreUrl));
+ case IDC_SHOW_MANAGEMENT_PAGE:
+ ShowSingletonTab(browser_, GURL(kChromeUIManagementURL));
break;
// Hosted App commands
@@ -1207,7 +1207,7 @@
command_updater_.UpdateCommandEnabled(IDC_VIEW_PASSWORDS, show_main_ui);
command_updater_.UpdateCommandEnabled(IDC_ABOUT, show_main_ui);
command_updater_.UpdateCommandEnabled(IDC_SHOW_APP_MENU, show_main_ui);
- command_updater_.UpdateCommandEnabled(IDC_MANAGED_UI_HELP, true);
+ command_updater_.UpdateCommandEnabled(IDC_SHOW_MANAGEMENT_PAGE, true);
if (base::debug::IsProfilingSupported())
command_updater_.UpdateCommandEnabled(IDC_PROFILING_ENABLED, show_main_ui);