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 bec585645e7d2779b9cddaaf8f6d8843ada48c46..62fe1f1b07be3f78d560735b03324773838d3c0a 100644 |
--- a/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_bookmark_unittest.cc |
@@ -21,6 +21,7 @@ |
#include "base/utf_string_conversions.h" |
#include "chrome/browser/bookmarks/bookmark_model.h" |
#include "chrome/browser/sync/abstract_profile_sync_service_test.h" |
+#include "chrome/browser/sync/api/sync_error.h" |
#include "chrome/browser/sync/engine/syncapi.h" |
#include "chrome/browser/sync/glue/bookmark_change_processor.h" |
#include "chrome/browser/sync/glue/bookmark_model_associator.h" |
@@ -325,7 +326,8 @@ class ProfileSyncServiceBookmarkTest : public testing::Test { |
profile_.GetBookmarkModel(), |
test_user_share_.user_share(), |
&mock_unrecoverable_error_handler_)); |
- EXPECT_TRUE(model_associator_->AssociateModels()); |
+ SyncError error; |
+ EXPECT_TRUE(model_associator_->AssociateModels(&error)); |
MessageLoop::current()->RunAllPending(); |
// Set up change processor. |
@@ -338,8 +340,8 @@ class ProfileSyncServiceBookmarkTest : public testing::Test { |
void StopSync() { |
change_processor_->Stop(); |
change_processor_.reset(); |
- |
- EXPECT_TRUE(model_associator_->DisassociateModels()); |
+ SyncError error; |
+ EXPECT_TRUE(model_associator_->DisassociateModels(&error)); |
model_associator_.reset(); |
message_loop_.RunAllPending(); |