Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/common/extensions/

Issue 15612002: Make sure the google wallet in-app payment support app is always installed. (Closed) Base URL: svn://
Patch Set: fix clang compile error Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/
diff --git a/chrome/common/extensions/ b/chrome/common/extensions/
index e9e3fc6fc5f1f5cf37e88aa7e935548d09e792fc..4821c2b0324e8e9d57b3751cc650e39414ccb375 100644
--- a/chrome/common/extensions/
+++ b/chrome/common/extensions/
@@ -539,6 +539,10 @@ bool Extension::ShouldDisplayInExtensionSettings() const {
if (Manifest::IsUnpackedLocation(location()))
return true;
+ // Don't show apps that aren't visible in either launcher or ntp.
+ if (is_app() && !ShouldDisplayInAppLauncher() && !ShouldDisplayInNewTabPage())
+ return false;
// Unless they are unpacked, never show hosted apps. Note: We intentionally
// show packaged apps and platform apps because there are some pieces of
// functionality that are only available in chrome://extensions/ but which

Powered by Google App Engine
This is Rietveld 408576698