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

Unified Diff: chrome/browser/profiles/profile_keyed_base_factory.h

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_keyed_base_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_keyed_base_factory.h
diff --git a/chrome/browser/profiles/profile_keyed_base_factory.h b/chrome/browser/profiles/profile_keyed_base_factory.h
index 91c511ce919fcecb4f02c21d50a08b42e28fc441..ca11d7a382a8026c078f1032466d7271f010cd0a 100644
--- a/chrome/browser/profiles/profile_keyed_base_factory.h
+++ b/chrome/browser/profiles/profile_keyed_base_factory.h
@@ -10,16 +10,17 @@
#include "base/threading/non_thread_safe.h"
#include "chrome/browser/profiles/dependency_node.h"
-namespace content {
-class BrowserContext;
-};
-
-class PrefRegistrySyncable;
class PrefService;
+class Profile;
class ProfileDependencyManager;
-class Profile;
+namespace content {
+class BrowserContext;
+}
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
// Base class for Factories that take a Profile object and return some service.
//
// Unless you're trying to make a new type of Factory, you probably don't want
@@ -59,7 +60,7 @@ class ProfileKeyedBaseFactory : public base::NonThreadSafe,
// Register any user preferences on this service. This is called during
// CreateProfileService() since preferences are registered on a per Profile
// basis.
- virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) {}
+ virtual void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry) {}
// By default, we create instances of a service lazily and wait until
// GetForProfile() is called on our subclass. Some services need to be
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/profiles/profile_keyed_base_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698