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

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

Issue 242693003: Introduce BookmarkClient interface to abstract embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing reviewer comments Created 6 years, 8 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_utils.h
diff --git a/chrome/browser/bookmarks/bookmark_utils.h b/chrome/browser/bookmarks/bookmark_utils.h
index c8566e728e5b3155f99700dcc9968cdbcb2c829d..cb8cf0b0368da60e7b9d71f390b2fd041f914c40 100644
--- a/chrome/browser/bookmarks/bookmark_utils.h
+++ b/chrome/browser/bookmarks/bookmark_utils.h
@@ -11,6 +11,7 @@
#include "base/strings/string16.h"
#include "chrome/browser/bookmarks/bookmark_node_data.h"
+class BookmarkClient;
class BookmarkModel;
class BookmarkNode;
class Profile;
@@ -101,6 +102,7 @@ void DeleteBookmarkFolders(BookmarkModel* model, const std::vector<int64>& ids);
// If there are no bookmarks for url, a bookmark is created.
void AddIfNotBookmarked(BookmarkModel* model,
+ BookmarkClient* client,
const GURL& url,
const base::string16& title);

Powered by Google App Engine
This is Rietveld 408576698