| Index: chrome/browser/dom_ui/app_launcher_handler.cc
|
| diff --git a/chrome/browser/dom_ui/app_launcher_handler.cc b/chrome/browser/dom_ui/app_launcher_handler.cc
|
| index 3f3d04a70853188df29b85eadd3fef34a327a1fd..2da2ef67fc0f0ce85f2a6d94d7f3fe2690716529 100644
|
| --- a/chrome/browser/dom_ui/app_launcher_handler.cc
|
| +++ b/chrome/browser/dom_ui/app_launcher_handler.cc
|
| @@ -153,6 +153,10 @@ void AppLauncherHandler::FillAppDictionary(DictionaryValue* dictionary) {
|
| } else {
|
| dictionary->SetBoolean("showPromo", false);
|
| }
|
| +
|
| + bool showLauncher =
|
| + CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableAppLauncher);
|
| + dictionary->SetBoolean("showLauncher", showLauncher);
|
| }
|
|
|
| void AppLauncherHandler::HandleGetApps(const ListValue* args) {
|
|
|