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

Unified Diff: trunk/src/chrome/browser/profiles/profile_manager_unittest.cc

Issue 19714004: Revert 213148 "Add asserts to TestingProfile::CreateHistoryServi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 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: trunk/src/chrome/browser/profiles/profile_manager_unittest.cc
===================================================================
--- trunk/src/chrome/browser/profiles/profile_manager_unittest.cc (revision 213150)
+++ trunk/src/chrome/browser/profiles/profile_manager_unittest.cc (working copy)
@@ -220,14 +220,14 @@
ASSERT_TRUE(profile2);
// Force lazy-init of some profile services to simulate use.
- ASSERT_TRUE(profile1->CreateHistoryService(true, false));
+ profile1->CreateHistoryService(true, false);
EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile1,
Profile::EXPLICIT_ACCESS));
profile1->CreateBookmarkModel(true);
EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile1));
profile2->CreateBookmarkModel(true);
EXPECT_TRUE(BookmarkModelFactory::GetForProfile(profile2));
- ASSERT_TRUE(profile2->CreateHistoryService(true, false));
+ profile2->CreateHistoryService(true, false);
EXPECT_TRUE(HistoryServiceFactory::GetForProfile(profile2,
Profile::EXPLICIT_ACCESS));

Powered by Google App Engine
This is Rietveld 408576698