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

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

Issue 1254363004: Move ownership of AppSorting from ExtensionPrefs to ExtensionSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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: 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 2754bc0baaaec978bd273757fbf266e7d40e001f..29f0927c2f88216961089057e3dc795fe812c998 100644
--- a/chrome/browser/extensions/chrome_app_sorting.h
+++ b/chrome/browser/extensions/chrome_app_sorting.h
@@ -27,8 +27,6 @@ class ChromeAppSorting : public AppSorting {
~ChromeAppSorting() override;
// AppSorting implementation:
- void SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) override;
- void CheckExtensionScopedPrefs() const override;
void Initialize(const extensions::ExtensionIdList& extension_ids) override;
not at google - send to devlin 2015/07/29 18:22:03 I'd like to take this off the public interface, an
Marc Treib 2015/07/30 14:04:12 Agreed. I'll do this when the remaining stuff is s
void FixNTPOrdinalCollisions() override;
void EnsureValidOrdinals(
@@ -152,7 +150,6 @@ class ChromeAppSorting : public AppSorting {
// Returns the number of items in |m| visible on the new tab page.
size_t CountItemsVisibleOnNtp(const AppLaunchOrdinalMap& m) const;
- ExtensionScopedPrefs* extension_scoped_prefs_; // Weak, owns this instance.
content::BrowserContext* browser_context_;
// A map of all the StringOrdinal page ordinals mapping to the collections of
« no previous file with comments | « no previous file | chrome/browser/extensions/chrome_app_sorting.cc » ('j') | chrome/browser/extensions/chrome_app_sorting.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698