diff options
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r-- | chrome/browser/dom_ui/app_launcher_handler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/app_launcher_handler.cc b/chrome/browser/dom_ui/app_launcher_handler.cc index 031686f..8470f6b 100644 --- a/chrome/browser/dom_ui/app_launcher_handler.cc +++ b/chrome/browser/dom_ui/app_launcher_handler.cc @@ -92,10 +92,13 @@ void AppLauncherHandler::HandleGetApps(const Value* value) { switches::kAppLauncherGalleryTitle); gallery_url = CommandLine::ForCurrentProcess()->GetSwitchValueASCII( switches::kAppLauncherGalleryURL); + bool show_debug_link = CommandLine::ForCurrentProcess()->HasSwitch( + switches::kAppsDebug); DictionaryValue dictionary; dictionary.SetString(L"galleryTitle", gallery_title); dictionary.SetString(L"galleryURL", gallery_url); + dictionary.SetBoolean(L"showDebugLink", show_debug_link); ListValue* list = new ListValue(); const ExtensionList* extensions = extensions_service_->extensions(); |