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

Unified Diff: chrome/browser/extensions/chrome_app_sorting.h

Issue 397903002: Do not assign launch ordinals to ephemeral apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ephemapp_unload_review
Patch Set: Created 6 years, 5 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/extensions/chrome_app_sorting.h
diff --git a/chrome/browser/extensions/chrome_app_sorting.h b/chrome/browser/extensions/chrome_app_sorting.h
index b943357789ad1bff6017672000a95678ccf1fc88..3e2165187e9cff5bf945d43b16f184df54069b4f 100644
--- a/chrome/browser/extensions/chrome_app_sorting.h
+++ b/chrome/browser/extensions/chrome_app_sorting.h
@@ -17,6 +17,7 @@
class ExtensionSyncService;
class PrefService;
+class Profile;
namespace extensions {
@@ -156,6 +157,7 @@ class ChromeAppSorting : public AppSorting {
// Returns the number of items in |m| visible on the new tab page.
size_t CountItemsVisibleOnNtp(const AppLaunchOrdinalMap& m) const;
+ Profile* profile_;
ExtensionScopedPrefs* extension_scoped_prefs_; // Weak, owns this instance.
ExtensionSyncService* extension_sync_service_; // Weak.

Powered by Google App Engine
This is Rietveld 408576698