diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-11 15:22:32 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-11 15:22:32 +0000 |
commit | d8e41ed4a55e60be60d47de5bbcb8a027e85a879 (patch) | |
tree | e0feaa030fe3834c0fc871de7564ef74e9595b05 /chrome/test/testing_profile.cc | |
parent | 7903e0262e2dda44eaa186d126cf88e2cc1470eb (diff) | |
download | chromium_src-d8e41ed4a55e60be60d47de5bbcb8a027e85a879.zip chromium_src-d8e41ed4a55e60be60d47de5bbcb8a027e85a879.tar.gz chromium_src-d8e41ed4a55e60be60d47de5bbcb8a027e85a879.tar.bz2 |
Renames BoomarkBarModel to BookmarkModel.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1912
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2057 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.cc')
-rw-r--r-- | chrome/test/testing_profile.cc | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/chrome/test/testing_profile.cc b/chrome/test/testing_profile.cc index ac7021d..59cf5a5 100644 --- a/chrome/test/testing_profile.cc +++ b/chrome/test/testing_profile.cc @@ -9,31 +9,31 @@ namespace { -// BookmarkLoadObserver is used when blocking until the BookmarkBarModel -// finishes loading. As soon as the BookmarkBarModel finishes loading the -// message loop is quit. -class BookmarkLoadObserver : public BookmarkBarModelObserver { +// BookmarkLoadObserver is used when blocking until the BookmarkModel +// finishes loading. As soon as the BookmarkModel finishes loading the message +// loop is quit. +class BookmarkLoadObserver : public BookmarkModelObserver { public: BookmarkLoadObserver() {} - virtual void Loaded(BookmarkBarModel* model) { + virtual void Loaded(BookmarkModel* model) { MessageLoop::current()->Quit(); } - virtual void BookmarkNodeMoved(BookmarkBarModel* model, - BookmarkBarNode* old_parent, + virtual void BookmarkNodeMoved(BookmarkModel* model, + BookmarkNode* old_parent, int old_index, - BookmarkBarNode* new_parent, + BookmarkNode* new_parent, int new_index) {} - virtual void BookmarkNodeAdded(BookmarkBarModel* model, - BookmarkBarNode* parent, + virtual void BookmarkNodeAdded(BookmarkModel* model, + BookmarkNode* parent, int index) {} - virtual void BookmarkNodeRemoved(BookmarkBarModel* model, - BookmarkBarNode* parent, + virtual void BookmarkNodeRemoved(BookmarkModel* model, + BookmarkNode* parent, int index) {} - virtual void BookmarkNodeChanged(BookmarkBarModel* model, - BookmarkBarNode* node) {} - virtual void BookmarkNodeFavIconLoaded(BookmarkBarModel* model, - BookmarkBarNode* node) {} + virtual void BookmarkNodeChanged(BookmarkModel* model, + BookmarkNode* node) {} + virtual void BookmarkNodeFavIconLoaded(BookmarkModel* model, + BookmarkNode* node) {} private: DISALLOW_COPY_AND_ASSIGN(BookmarkLoadObserver); @@ -90,7 +90,7 @@ void TestingProfile::DestroyHistoryService() { MessageLoop::current()->Run(); } -void TestingProfile::CreateBookmarkBarModel(bool delete_file) { +void TestingProfile::CreateBookmarkModel(bool delete_file) { // Nuke the model first, that way we're sure it's done writing to disk. bookmark_bar_model_.reset(NULL); @@ -99,7 +99,7 @@ void TestingProfile::CreateBookmarkBarModel(bool delete_file) { file_util::AppendToPath(&path, chrome::kBookmarksFileName); file_util::Delete(path, false); } - bookmark_bar_model_.reset(new BookmarkBarModel(this)); + bookmark_bar_model_.reset(new BookmarkModel(this)); if (history_service_.get()) { history_service_->history_backend_->bookmark_service_ = bookmark_bar_model_.get(); |