| Index: chrome/browser/sync/profile_sync_service_mock.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_mock.cc b/chrome/browser/sync/profile_sync_service_mock.cc
|
| index 18bbc78d9ff9d307fb51a89499508cab48edd935..de015cf1c676d7c1a829e7ee8da823b636d7a77e 100644
|
| --- a/chrome/browser/sync/profile_sync_service_mock.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_mock.cc
|
| @@ -9,6 +9,7 @@
|
| #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| #include "chrome/browser/sync/chrome_sync_client.h"
|
| +#include "chrome/browser/sync/profile_sync_test_util.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| @@ -35,7 +36,8 @@ ProfileSyncServiceMock::ProfileSyncServiceMock(
|
| make_scoped_ptr(new SigninManagerWrapper(
|
| SigninManagerFactory::GetForProfile(profile))),
|
| ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
|
| - browser_sync::MANUAL_START) {
|
| + browser_sync::MANUAL_START,
|
| + base::Bind(&EmptyNetworkTimeUpdate)) {
|
| ON_CALL(*this, IsSyncRequested()).WillByDefault(testing::Return(true));
|
| }
|
|
|
|
|