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

Unified Diff: chrome/browser/bookmarks/bookmark_model_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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 2ad76a4b11faeb4af8568802e25e01544161508a..0975c14a13646ffe0f2d377a6685535552c518d6 100644
--- a/chrome/browser/bookmarks/bookmark_model_factory.h
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h
@@ -15,7 +15,7 @@ class Profile;
class BookmarkModel;
// Singleton that owns all BookmarkModel and associates them with Profiles.
-class BookmarkModelFactory : public ProfileKeyedServiceFactory {
+class BookmarkModelFactory : public BrowserContextKeyedServiceFactory {
public:
static BookmarkModel* GetForProfile(Profile* profile);
@@ -29,8 +29,8 @@ class BookmarkModelFactory : public ProfileKeyedServiceFactory {
BookmarkModelFactory();
virtual ~BookmarkModelFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
virtual void RegisterUserPrefs(
user_prefs::PrefRegistrySyncable* registry) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698