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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 12929016: bookmarks: Get rid of TestingProfile::BlockUntilBookmarkModelLoaded(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 9 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
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 82067b18218d75bcdcf2bfadb239684e533be444..9cdc6213ce7a798764cb895eb79a3bd1aa6b83f0 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -430,15 +430,6 @@ void TestingProfile::CreateWebDataService() {
this, BuildWebDataService);
}
-void TestingProfile::BlockUntilBookmarkModelLoaded() {
- // Only get the bookmark model if it actually exists since the caller of the
- // test should explicitly call CreateBookmarkModel to build it.
- BookmarkModel* bookmark_model =
- BookmarkModelFactory::GetForProfileIfExists(this);
- DCHECK(bookmark_model);
- ui_test_utils::WaitForBookmarkModelToLoad(bookmark_model);
-}
-
void TestingProfile::BlockUntilHistoryIndexIsRefreshed() {
// Only get the history service if it actually exists since the caller of the
// test should explicitly call CreateHistoryService to build it.
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698