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

Unified Diff: chrome/browser/ui/app_list/recommended_apps.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
Index: chrome/browser/ui/app_list/recommended_apps.cc
diff --git a/chrome/browser/ui/app_list/recommended_apps.cc b/chrome/browser/ui/app_list/recommended_apps.cc
index 01c20df1023901feb6a61ba061453d21568bb6e1..8f0cfebaf16c0594b8b6b9bf0bccd22b4ef0ab97 100644
--- a/chrome/browser/ui/app_list/recommended_apps.cc
+++ b/chrome/browser/ui/app_list/recommended_apps.cc
@@ -8,6 +8,7 @@
#include <vector>
#include "base/bind.h"
+#include "chrome/browser/extensions/extension_ui_util.h"
#include "chrome/browser/extensions/install_tracker.h"
#include "chrome/browser/extensions/install_tracker_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -73,7 +74,7 @@ void RecommendedApps::Update() {
for (extensions::ExtensionSet::const_iterator app = extensions.begin();
app != extensions.end();
++app) {
- if (!(*app)->ShouldDisplayInAppLauncher())
+ if (!extensions::ui_util::ShouldDisplayInAppLauncher(*app, profile_))
continue;
sorted_apps.push_back(

Powered by Google App Engine
This is Rietveld 408576698