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

Unified Diff: extensions/browser/extension_system.h

Issue 1254363004: Move ownership of AppSorting from ExtensionPrefs to ExtensionSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review1 Created 5 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: extensions/browser/extension_system.h
diff --git a/extensions/browser/extension_system.h b/extensions/browser/extension_system.h
index 099a99fdb1a6ba07eff0bc4346e31cda9347869c..4fcc9779040d5fa035502b16dfc45d597a043251 100644
--- a/extensions/browser/extension_system.h
+++ b/extensions/browser/extension_system.h
@@ -29,6 +29,7 @@ class BrowserContext;
namespace extensions {
+class AppSorting;
class ContentVerifier;
class Extension;
class ExtensionSet;
@@ -85,6 +86,9 @@ class ExtensionSystem : public KeyedService {
// Lives on the UI thread. Created at startup.
virtual QuotaService* quota_service() = 0;
+ // Returns the AppSorting which provides an ordering for all installed apps.
+ virtual AppSorting* app_sorting() = 0;
+
// Called by the ExtensionService that lives in this system. Gives the
// info map a chance to react to the load event before the EXTENSION_LOADED
// notification has fired. The purpose for handling this event first is to

Powered by Google App Engine
This is Rietveld 408576698