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

Unified Diff: chrome/browser/extensions/api/bookmarks/bookmarks_api.h

Issue 330343002: Introduce ChromeBookmarkClientFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/extensions/api/bookmarks/bookmarks_api.h
diff --git a/chrome/browser/extensions/api/bookmarks/bookmarks_api.h b/chrome/browser/extensions/api/bookmarks/bookmarks_api.h
index c6e96934790b600f86cc6cbf6a680e4d7b263f3b..2db62f3d54d6abb378b2c4ea47cb8f6bf7023546 100644
--- a/chrome/browser/extensions/api/bookmarks/bookmarks_api.h
+++ b/chrome/browser/extensions/api/bookmarks/bookmarks_api.h
@@ -128,6 +128,9 @@ class BookmarksFunction : public ChromeAsyncExtensionFunction,
// RunAsync semantic equivalent called when the bookmarks are ready.
virtual bool RunOnReady() = 0;
+ // Helper to get the BookmarkModel.
+ BookmarkModel* GetBookmarkModel();
+
// Helper to get the ChromeBookmarkClient.
ChromeBookmarkClient* GetChromeBookmarkClient();
« no previous file with comments | « chrome/browser/extensions/api/bookmarks/bookmark_apitest.cc ('k') | chrome/browser/extensions/api/bookmarks/bookmarks_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698