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 b4a67bf28d8d44e18baf3eed6967dd1027a254c4..bb17bb61d5b795a70273f831f091d9b596e85cdb 100644 |
--- a/chrome/browser/bookmarks/bookmark_model_factory.h |
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h |
@@ -21,6 +21,14 @@ class BookmarkModel; |
// Singleton that owns all BookmarkModels and associates them with Profiles. |
class BookmarkModelFactory : public BrowserContextKeyedServiceFactory { |
public: |
+ static bookmarks::BookmarkModel* GetForBrowserContext( |
+ content::BrowserContext* browser_context); |
+ |
+ 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); |