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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view.h

Issue 7574021: Remove frontend code that allows for dynamic profile setting, and read the profile off the browse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/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.

Powered by Google App Engine
This is Rietveld 408576698