| Index: components/autofill/core/browser/options_util_unittest.cc
|
| diff --git a/components/autofill/core/browser/options_util_unittest.cc b/components/autofill/core/browser/options_util_unittest.cc
|
| index e2a81efbb11fd7ce1f183281bd3ac132a9cd466c..7285dbdebe8c8535709b5bbbb3592234b653e69f 100644
|
| --- a/components/autofill/core/browser/options_util_unittest.cc
|
| +++ b/components/autofill/core/browser/options_util_unittest.cc
|
| @@ -29,7 +29,7 @@ class SyncServiceMock : public sync_driver::SyncService {
|
| MOCK_METHOD1(RemoveObserver, void(sync_driver::SyncServiceObserver*));
|
| MOCK_CONST_METHOD1(HasObserver,
|
| bool(const sync_driver::SyncServiceObserver*));
|
| - MOCK_METHOD0(IsSyncEnabledAndLoggedIn, bool());
|
| + MOCK_CONST_METHOD0(CanSyncStart, bool());
|
| MOCK_METHOD0(DisableForUser, void());
|
| MOCK_METHOD0(RequestStop, void());
|
| MOCK_METHOD0(RequestStart, void());
|
| @@ -72,7 +72,7 @@ scoped_ptr<SyncServiceMock> CreateSyncService(bool has_autofill_profile,
|
| ON_CALL(*sync, GetActiveDataTypes()).WillByDefault(Return(type_set));
|
| ON_CALL(*sync, GetPreferredDataTypes()).WillByDefault(Return(type_set));
|
|
|
| - ON_CALL(*sync, IsSyncEnabledAndLoggedIn())
|
| + ON_CALL(*sync, CanSyncStart())
|
| .WillByDefault(Return(is_enabled_and_logged_in));
|
|
|
| return sync;
|
|
|