| Index: ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
|
| diff --git a/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc b/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
|
| index 556651f78354b16090f8de72ede8d4249204c57b..624e5788081e49595ecd91bf9cebef8d9b85102b 100644
|
| --- a/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
|
| +++ b/ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc
|
| @@ -5,8 +5,8 @@
|
| #include "ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.h"
|
|
|
| #include "base/bind.h"
|
| -#include "base/time/time.h"
|
| #include "components/browser_sync/browser/profile_sync_service_mock.h"
|
| +#include "components/browser_sync/browser/profile_sync_test_util.h"
|
| #include "components/signin/core/browser/profile_oauth2_token_service.h"
|
| #include "components/signin/core/browser/signin_manager.h"
|
| #include "components/sync_driver/signin_manager_wrapper.h"
|
| @@ -17,14 +17,6 @@
|
| #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h"
|
| #include "ios/web/public/web_thread.h"
|
|
|
| -namespace {
|
| -
|
| -void EmptyNetworkTimeUpdate(const base::Time&,
|
| - const base::TimeDelta&,
|
| - const base::TimeDelta&) {}
|
| -
|
| -} // namespace
|
| -
|
| ProfileSyncService::InitParams CreateProfileSyncServiceParamsForTest(
|
| scoped_ptr<sync_driver::SyncClient> sync_client,
|
| ios::ChromeBrowserState* browser_state) {
|
| @@ -39,7 +31,7 @@ ProfileSyncService::InitParams CreateProfileSyncServiceParamsForTest(
|
| sync_client ? std::move(sync_client)
|
| : make_scoped_ptr(new IOSChromeSyncClient(browser_state));
|
| init_params.network_time_update_callback =
|
| - base::Bind(&EmptyNetworkTimeUpdate);
|
| + base::Bind(&browser_sync::EmptyNetworkTimeUpdate);
|
| init_params.base_directory = browser_state->GetStatePath();
|
| init_params.url_request_context = browser_state->GetRequestContext();
|
| init_params.debug_identifier = browser_state->GetDebugName();
|
|
|