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

Unified Diff: extensions/browser/app_sorting.h

Issue 83023010: Remove ExtensionPrefs's dependency on ChromeAppSorting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change a LOG(INFO) that i know nothing about to a VLOG(1) Created 7 years, 1 month 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 | « chrome/browser/extensions/test_extension_system.cc ('k') | extensions/browser/extensions_browser_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_sorting.h
diff --git a/extensions/browser/app_sorting.h b/extensions/browser/app_sorting.h
index 46b90e18a24ccc10833f76e602760abdcdb7e071..6efa5e425f12994fd1a9e7f03d7fcc6b4b3091a2 100644
--- a/extensions/browser/app_sorting.h
+++ b/extensions/browser/app_sorting.h
@@ -12,6 +12,7 @@
#include "extensions/common/extension.h"
#include "sync/api/string_ordinal.h"
+class ExtensionScopedPrefs;
class ExtensionSyncService;
namespace extensions {
@@ -22,11 +23,15 @@ class AppSorting {
AppSorting() {}
virtual ~AppSorting() {}
- // Set up the ExtensionSyncService to inform of changes that require syncing.
+ // Sets the object used to look up preferences. Ownership remains with the
+ // caller.
+ virtual void SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) = 0;
+
+ // Sets up the ExtensionSyncService to inform of changes that require syncing.
virtual void SetExtensionSyncService(
ExtensionSyncService* extension_sync_service) = 0;
- // Properly initialize internal values that require |extension_ids|.
+ // Properly initializes internal values that require |extension_ids|.
virtual void Initialize(const extensions::ExtensionIdList& extension_ids) = 0;
// Resolves any conflicts the might be created as a result of syncing that
« no previous file with comments | « chrome/browser/extensions/test_extension_system.cc ('k') | extensions/browser/extensions_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698