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

Unified Diff: chrome/browser/bookmarks/bookmark_model_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
Index: chrome/browser/bookmarks/bookmark_model_factory.h
diff --git a/chrome/browser/bookmarks/bookmark_model_factory.h b/chrome/browser/bookmarks/bookmark_model_factory.h
index b4b81f0c3a6decfcba1c0d7abdfdadd89327ed9a..a64deed602472b87b6cdcae3d5633fd9bc00c0a8 100644
--- a/chrome/browser/bookmarks/bookmark_model_factory.h
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h
@@ -11,12 +11,10 @@
template <typename T> struct DefaultSingletonTraits;
-class PrefRegistrySyncable;
class Profile;
class BookmarkModel;
-// Singleton that owns all BookmarkModel and associates them with
-// Profiles.
+// Singleton that owns all BookmarkModel and associates them with Profiles.
class BookmarkModelFactory : public ProfileKeyedServiceFactory {
public:
static BookmarkModel* GetForProfile(Profile* profile);
@@ -34,7 +32,8 @@ class BookmarkModelFactory : public ProfileKeyedServiceFactory {
// ProfileKeyedServiceFactory:
virtual ProfileKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) OVERRIDE;
+ virtual void RegisterUserPrefs(
+ user_prefs::PrefRegistrySyncable* registry) OVERRIDE;
virtual content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const OVERRIDE;
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE;
« no previous file with comments | « chrome/browser/background/background_contents_service_factory.cc ('k') | chrome/browser/bookmarks/bookmark_model_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698