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

Unified Diff: ios/public/provider/chrome/browser/chrome_browser_provider.h

Issue 2591823003: Remove ChromeBrowserProvider::RegisterProfilePrefs(). (Closed)
Patch Set: Fix multiple registration of preferences. Created 4 years 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: ios/public/provider/chrome/browser/chrome_browser_provider.h
diff --git a/ios/public/provider/chrome/browser/chrome_browser_provider.h b/ios/public/provider/chrome/browser/chrome_browser_provider.h
index 7ba4ca52beadba34fa4e7a48b5925d94b595ee8d..b09c0fb7a7204cda3eeded4d8a961478bdac5926 100644
--- a/ios/public/provider/chrome/browser/chrome_browser_provider.h
+++ b/ios/public/provider/chrome/browser/chrome_browser_provider.h
@@ -21,7 +21,6 @@ class AppDistributionProvider;
class BrandedImageProvider;
class GURL;
class OmahaServiceProvider;
-class PrefService;
class SpotlightProvider;
class UserFeedbackProvider;
class VoiceSearchProvider;
@@ -39,10 +38,6 @@ namespace sync_sessions {
class SyncedWindowDelegatesGetter;
}
-namespace user_prefs {
-class PrefRegistrySyncable;
-}
-
@protocol AppRatingPrompt;
@protocol InfoBarViewProtocol;
@protocol LogoVendor;
@@ -87,9 +82,6 @@ class ChromeBrowserProvider {
// Asserts all iOS-specific |BrowserContextKeyedServiceFactory| are built.
virtual void AssertBrowserContextKeyedFactoriesBuilt();
- // Registers all prefs that will be used via a PrefService attached to a
- // Profile.
- virtual void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
// Returns an instance of a signing error provider.
virtual SigninErrorProvider* GetSigninErrorProvider();
// Returns an instance of a signin resources provider.

Powered by Google App Engine
This is Rietveld 408576698