Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.h |
=================================================================== |
--- chrome/browser/ui/views/bookmarks/bookmark_bar_view.h (revision 95527) |
+++ chrome/browser/ui/views/bookmarks/bookmark_bar_view.h (working copy) |
@@ -70,13 +70,9 @@ |
// Maximum size of buttons on the bookmark bar. |
static const int kMaxButtonWidth; |
- BookmarkBarView(Profile* profile, Browser* browser); |
+ explicit BookmarkBarView(Browser* browser); |
virtual ~BookmarkBarView(); |
- // Resets the profile. This removes any buttons for the current profile and |
- // recreates the models. |
- void SetProfile(Profile* profile); |
- |
// Returns the current browser. |
Browser* browser() const { return browser_; } |
@@ -362,8 +358,6 @@ |
NotificationRegistrar registrar_; |
- Profile* profile_; |
- |
// Used for opening urls. |
PageNavigator* page_navigator_; |
@@ -405,7 +399,7 @@ |
ButtonSeparatorView* bookmarks_separator_view_; |
- // Owning browser. This is NULL during testing. |
+ // Owning browser. |
Browser* browser_; |
// True if the owning browser is showing an infobar. |