| 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 aefaf903e71111291227565341f5e55aeeb216d9..1920f0aa0f5d2f349ff7f9d270cb6207413a157b 100644
|
| --- a/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| +++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/defaults.h"
|
| #include "chrome/browser/extensions/extension_toolbar_model.h"
|
| +#include "chrome/browser/extensions/extension_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/search/search.h"
|
| @@ -241,8 +242,7 @@ void ToolsMenuModel::Build(Browser* browser) {
|
| show_create_shortcuts = false;
|
| #endif
|
|
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableStreamlinedHostedApps)) {
|
| + if (extensions::util::IsStreamlinedHostedAppsEnabled()) {
|
| AddItemWithStringId(IDC_CREATE_HOSTED_APP, IDS_CREATE_HOSTED_APP);
|
| AddSeparator(ui::NORMAL_SEPARATOR);
|
| } else if (show_create_shortcuts) {
|
|
|