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

Unified Diff: chrome/browser/profile.h

Issue 1912: Renames BoomarkBarModel to BookmarkModel. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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/profile.h
===================================================================
--- chrome/browser/profile.h (revision 1988)
+++ chrome/browser/profile.h (working copy)
@@ -19,7 +19,7 @@
#include "chrome/personalization/personalization.h"
#endif
-class BookmarkBarModel;
+class BookmarkModel;
class DownloadManager;
class HistoryService;
class NavigationController;
@@ -182,12 +182,9 @@
// Returns true if the last time this profile was open it was exited cleanly.
virtual bool DidLastSessionExitCleanly() = 0;
- // Returns true if the BookmarkBarMOdel has been created.
- virtual bool HasBookmarkBarModel() = 0;
+ // Returns the BookmarkModel, creating if not yet created.
+ virtual BookmarkModel* GetBookmarkModel() = 0;
- // Returns the BookmarkBarModel, creating if not yet created.
- virtual BookmarkBarModel* GetBookmarkBarModel() = 0;
-
#ifdef CHROME_PERSONALIZATION
virtual ProfilePersonalization GetProfilePersonalization() = 0;
#endif
@@ -263,8 +260,7 @@
virtual void UnregisterNavigationController(NavigationController* controller);
virtual const Profile::ProfileControllerSet& GetNavigationControllers();
virtual bool DidLastSessionExitCleanly();
- virtual bool HasBookmarkBarModel();
- virtual BookmarkBarModel* GetBookmarkBarModel();
+ virtual BookmarkModel* GetBookmarkModel();
virtual bool IsSameProfile(Profile* profile);
virtual Time GetStartTime() const;
virtual TabRestoreService* GetTabRestoreService();
@@ -297,7 +293,7 @@
scoped_ptr<PrefService> prefs_;
scoped_ptr<TemplateURLFetcher> template_url_fetcher_;
scoped_ptr<TemplateURLModel> template_url_model_;
- scoped_ptr<BookmarkBarModel> bookmark_bar_model_;
+ scoped_ptr<BookmarkModel> bookmark_bar_model_;
#ifdef CHROME_PERSONALIZATION
ProfilePersonalization personalization_;

Powered by Google App Engine
This is Rietveld 408576698