Index: chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h |
index 708ae7181668ae5ce0ae590317ecac757e8bb6c5..c0f42c0d0d14f9a906ae8af83b5cc86b0ecf70b4 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h |
@@ -9,13 +9,13 @@ |
#import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
#import "chrome/browser/ui/cocoa/bookmarks/bookmark_model_observer_for_cocoa.h" |
-class ChromeBookmarkClient; |
@class BookmarkBubbleController; |
@class BookmarkSyncPromoController; |
namespace bookmarks { |
class BookmarkModel; |
class BookmarkNode; |
+class ManagedBookmarkService; |
} |
// Controller for the bookmark bubble. The bookmark bubble is a |
@@ -24,9 +24,9 @@ class BookmarkNode; |
// the bookmark in various ways (name, folder, etc.) |
@interface BookmarkBubbleController : BaseBubbleController { |
@private |
- // |client_|, |model_| and |node_| are weak and owned by the current browser's |
- // profile. |
- ChromeBookmarkClient* client_; // weak |
+ // |managed_|, |model_| and |node_| are weak and owned by the current |
+ // browser's profile. |
+ bookmarks::ManagedBookmarkService* managed_; // weak |
sky
2015/07/20 15:53:19
managedBookmarkService_, like you have in chrome/b
sdefresne
2015/07/20 17:43:40
Done.
|
bookmarks::BookmarkModel* model_; // weak |
const bookmarks::BookmarkNode* node_; // weak |
@@ -56,7 +56,7 @@ class BookmarkNode; |
// it desires it to be visible on the screen. It is not shown by the |
// init routine. Closing of the window happens implicitly on dealloc. |
- (id)initWithParentWindow:(NSWindow*)parentWindow |
- client:(ChromeBookmarkClient*)client |
+ managed:(bookmarks::ManagedBookmarkService*)managed |
model:(bookmarks::BookmarkModel*)model |
node:(const bookmarks::BookmarkNode*)node |
alreadyBookmarked:(BOOL)alreadyBookmarked; |