Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: extensions/common/extension.cc

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up file header Created 6 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
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.cc
diff --git a/extensions/common/extension.cc b/extensions/common/extension.cc
index 39f2fb796e00a5e16a5ec9f8fc79c98c2ecda684..97d7e455e862f78603e1ab81576013a0cfc03424 100644
--- a/extensions/common/extension.cc
+++ b/extensions/common/extension.cc
@@ -331,12 +331,12 @@ bool Extension::RequiresSortOrdinal() const {
bool Extension::ShouldDisplayInAppLauncher() const {
// Only apps should be displayed in the launcher.
- return is_app() && display_in_launcher_ && !is_ephemeral();
+ return is_app() && display_in_launcher_;
}
bool Extension::ShouldDisplayInNewTabPage() const {
// Only apps should be displayed on the NTP.
- return is_app() && display_in_new_tab_page_ && !is_ephemeral();
+ return is_app() && display_in_new_tab_page_;
}
bool Extension::ShouldDisplayInExtensionSettings() const {
« no previous file with comments | « extensions/common/extension.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698