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 bb17bb61d5b795a70273f831f091d9b596e85cdb..bd388e331f157c2d517ca99a938eb9b145c1aba3 100644 |
--- a/chrome/browser/bookmarks/bookmark_model_factory.h |
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h |
@@ -12,13 +12,12 @@ namespace base { |
template <typename T> struct DefaultSingletonTraits; |
} |
-class Profile; |
- |
namespace bookmarks { |
class BookmarkModel; |
} |
-// Singleton that owns all BookmarkModels and associates them with Profiles. |
+// Singleton that owns all BookmarkModels and associates them with |
+// BrowserContexts. |
class BookmarkModelFactory : public BrowserContextKeyedServiceFactory { |
public: |
static bookmarks::BookmarkModel* GetForBrowserContext( |
@@ -27,12 +26,6 @@ class BookmarkModelFactory : public BrowserContextKeyedServiceFactory { |
static bookmarks::BookmarkModel* GetForBrowserContextIfExists( |
content::BrowserContext* browser_context); |
- // TODO(pke): Remove GetForProfile and GetForProfileIfExists and use |
- // GetForBrowserContext/GetForBrowserContextIfExists everywhere. |
- static bookmarks::BookmarkModel* GetForProfile(Profile* profile); |
- |
- static bookmarks::BookmarkModel* GetForProfileIfExists(Profile* profile); |
- |
static BookmarkModelFactory* GetInstance(); |
private: |