| Index: chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| index 633faf7d6ca8aff3c54b44a91aa41b7f0e8b84fe..fe719e9d469b573ef5b05d48be305d418837c4a9 100644
|
| --- a/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| +++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.cc
|
| @@ -226,10 +226,12 @@ void AppLauncherHandler::FillAppDictionary(DictionaryValue* dictionary) {
|
| const ExtensionList* extensions = extensions_service_->extensions();
|
| ExtensionList::const_iterator it;
|
| for (it = extensions->begin(); it != extensions->end(); ++it) {
|
| - // Don't include the WebStore.
|
| + // Don't include the WebStore and the Cloud Print app.
|
| // The WebStore launcher gets special treatment in ntp/apps.js.
|
| + // The Cloud Print app should not be displayed in the NTP.
|
| if ((*it)->is_app() &&
|
| - (*it)->id() != extension_misc::kWebStoreAppId) {
|
| + (*it)->id() != extension_misc::kWebStoreAppId &&
|
| + (*it)->id() != extension_misc::kCloudPrintAppId) {
|
| DictionaryValue* app_info = new DictionaryValue();
|
| CreateAppInfo(*it, extensions_service_->extension_prefs(), app_info);
|
| list->Append(app_info);
|
| @@ -239,7 +241,8 @@ void AppLauncherHandler::FillAppDictionary(DictionaryValue* dictionary) {
|
| extensions = extensions_service_->disabled_extensions();
|
| for (it = extensions->begin(); it != extensions->end(); ++it) {
|
| if ((*it)->is_app() &&
|
| - (*it)->id() != extension_misc::kWebStoreAppId) {
|
| + (*it)->id() != extension_misc::kWebStoreAppId &&
|
| + (*it)->id() != extension_misc::kCloudPrintAppId) {
|
| DictionaryValue* app_info = new DictionaryValue();
|
| CreateAppInfo(*it, extensions_service_->extension_prefs(), app_info);
|
| list->Append(app_info);
|
|
|