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

Unified Diff: extensions/browser/extension_prefs.h

Issue 1419823011: app_sorting() calls should go via ExtensionSystem intsead of prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits. Created 5 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
Index: extensions/browser/extension_prefs.h
diff --git a/extensions/browser/extension_prefs.h b/extensions/browser/extension_prefs.h
index 2e9e84035c11d6c7e5af4238005698d4ef944688..b135ea09f640fdd771f61333cb52feb5f44077b1 100644
--- a/extensions/browser/extension_prefs.h
+++ b/extensions/browser/extension_prefs.h
@@ -511,11 +511,6 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
// The underlying PrefService.
PrefService* pref_service() const { return prefs_; }
- // The underlying AppSorting.
- // TODO(treib,kalman): This should be private, and all callers should go
- // through the ExtensionSystem instead.
- AppSorting* app_sorting() const;
-
// Schedules garbage collection of an extension's on-disk data on the next
// start of this ExtensionService. Applies only to extensions with isolated
// storage.
@@ -570,6 +565,9 @@ class ExtensionPrefs : public ExtensionScopedPrefs, public KeyedService {
bool extensions_disabled,
const std::vector<ExtensionPrefsObserver*>& early_observers);
+ // The underlying AppSorting.
+ AppSorting* app_sorting() const;
Dan Beam 2015/11/12 22:37:21 this probably shouldn't be const if AppSorting* is
benwells 2015/11/12 23:33:49 I think it is debatable and rests on whether the E
Dan Beam 2015/11/17 00:28:48 ok
+
// Converts absolute paths in the pref to paths relative to the
// install_directory_.
void MakePathsRelative();

Powered by Google App Engine
This is Rietveld 408576698