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

Unified Diff: chrome/browser/sync/profile_sync_service_bookmark_unittest.cc

Issue 9978017: [Sync] - Upload the callstacks for errors so that the line number of error is in callstack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/sync/profile_sync_service_bookmark_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
index 76aebc34ff15d13fb87577489e19e372cc4fe11d..8656d64ec85ffdfcf8e4ec44fa513a68b6dd7cf0 100644
--- a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc
@@ -360,8 +360,8 @@ class ProfileSyncServiceBookmarkTest : public testing::Test {
profile_.GetBookmarkModel(),
test_user_share_.user_share(),
&mock_error_handler_));
- SyncError error;
- EXPECT_TRUE(model_associator_->AssociateModels(&error));
+ SyncError error = model_associator_->AssociateModels();
+ EXPECT_FALSE(error.IsSet());
MessageLoop::current()->RunAllPending();
// Set up change processor.
@@ -374,8 +374,8 @@ class ProfileSyncServiceBookmarkTest : public testing::Test {
void StopSync() {
change_processor_->Stop();
change_processor_.reset();
- SyncError error;
- EXPECT_TRUE(model_associator_->DisassociateModels(&error));
+ SyncError error = model_associator_->DisassociateModels();
+ EXPECT_FALSE(error.IsSet());
model_associator_.reset();
message_loop_.RunAllPending();

Powered by Google App Engine
This is Rietveld 408576698