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

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

Issue 1203713002: Limit access to ChromeBookmarkClient to bookmarks code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup_bookmark_client
Patch Set: Rebase Created 5 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 9c3f082c714932bdf289bb07b29592c6a50c87f8..86a92165d47783c9308465b00ce5797b43f92bd7 100644
--- a/chrome/browser/extensions/api/bookmarks/bookmarks_api.h
+++ b/chrome/browser/extensions/api/bookmarks/bookmarks_api.h
@@ -18,8 +18,6 @@
#include "extensions/browser/event_router.h"
#include "ui/shell_dialogs/select_file_dialog.h"
-class ChromeBookmarkClient;
-
namespace base {
class FilePath;
class ListValue;
@@ -81,7 +79,6 @@ class BookmarkEventRouter : public bookmarks::BookmarkModelObserver {
content::BrowserContext* browser_context_;
bookmarks::BookmarkModel* model_;
- ChromeBookmarkClient* client_;
DISALLOW_COPY_AND_ASSIGN(BookmarkEventRouter);
};
@@ -131,9 +128,6 @@ class BookmarksFunction : public ChromeAsyncExtensionFunction,
// Helper to get the BookmarkModel.
bookmarks::BookmarkModel* GetBookmarkModel();
- // Helper to get the ChromeBookmarkClient.
- ChromeBookmarkClient* GetChromeBookmarkClient();
-
// Helper to get the bookmark id as int64 from the given string id.
// Sets error_ to an error string if the given id string can't be parsed
// as an int64. In case of error, doesn't change id and returns false.

Powered by Google App Engine
This is Rietveld 408576698