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

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

Issue 305973004: BookmarkClient can add extra nodes to BookmarkModel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added support for extra nodes from the client Created 6 years, 6 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 87180ced7fd16fab8691ee14ed3d1d8413cabc19..5b4fd183c972594c2320ded12a548f8dd8b16e72 100644
--- a/chrome/browser/bookmarks/bookmark_model_factory.h
+++ b/chrome/browser/bookmarks/bookmark_model_factory.h
@@ -11,8 +11,9 @@
template <typename T> struct DefaultSingletonTraits;
-class Profile;
class BookmarkModel;
+class ChromeBookmarkClient;
+class Profile;
// Singleton that owns all BookmarkModel and associates them with Profiles.
class BookmarkModelFactory : public BrowserContextKeyedServiceFactory {
@@ -21,6 +22,9 @@ class BookmarkModelFactory : public BrowserContextKeyedServiceFactory {
static BookmarkModel* GetForProfileIfExists(Profile* profile);
+ static ChromeBookmarkClient* GetChromeBookmarkClientForProfile(
+ Profile* profile);
+
static BookmarkModelFactory* GetInstance();
private:

Powered by Google App Engine
This is Rietveld 408576698