Chromium Code Reviews| Index: chrome/browser/ui/toolbar/wrench_menu_model.cc |
| diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc |
| index 93d3c91ffed978c7c93f62e090409aff3f8d7ec7..0f54f6d3327330d2604d40bd3b73a8397a39271f 100644 |
| --- a/chrome/browser/ui/toolbar/wrench_menu_model.cc |
| +++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc |
| @@ -201,11 +201,8 @@ class WrenchMenuModel::HelpMenuModel : public ui::SimpleMenuModel { |
| void Build(Browser* browser) { |
| int help_string_id = IDS_HELP_PAGE; |
| #if defined(OS_CHROMEOS) && defined(OFFICIAL_BUILD) |
| - if (!CommandLine::ForCurrentProcess()->HasSwitch( |
| - chromeos::switches::kDisableGeniusApp)) { |
| - help_string_id = IDS_GET_HELP; |
| - } |
| -#endif |
| + help_string_id = IDS_GET_HELP; |
| +#else |
|
sky
2014/09/18 13:03:24
This isn't the same as the old code. I was saying
cylee1
2014/09/18 13:25:59
sorry, mistake...
|
| AddItemWithStringId(IDC_HELP_PAGE_VIA_MENU, help_string_id); |
| if (browser_defaults::kShowHelpMenuItemIcon) { |
| ui::ResourceBundle& rb = ResourceBundle::GetSharedInstance(); |
| @@ -214,6 +211,7 @@ class WrenchMenuModel::HelpMenuModel : public ui::SimpleMenuModel { |
| } |
| AddItemWithStringId(IDC_FEEDBACK, IDS_FEEDBACK); |
| +#endif |
| } |
| DISALLOW_COPY_AND_ASSIGN(HelpMenuModel); |