| 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 1d05bc6a1e8e974f65980f8ad57727b80f9ee524..7f36c9719903737bf4246e2ceb2b507956d4bd0c 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();
|
|
|