Index: chrome/browser/sync/profile_sync_test_util.cc |
diff --git a/chrome/browser/sync/profile_sync_test_util.cc b/chrome/browser/sync/profile_sync_test_util.cc |
index 6ae90b320cf5dcce945ceb9b40b091fde740746d..2c7a7197abc0b2c6b7151f6e43f08095154c9584 100644 |
--- a/chrome/browser/sync/profile_sync_test_util.cc |
+++ b/chrome/browser/sync/profile_sync_test_util.cc |
@@ -21,6 +21,8 @@ |
#include "components/sync/driver/startup_controller.h" |
#include "components/sync/driver/sync_api_component_factory_mock.h" |
+using browser_sync::ProfileSyncService; |
+ |
ProfileSyncService::InitParams CreateProfileSyncServiceParamsForTest( |
Profile* profile) { |
auto sync_client = base::MakeUnique<browser_sync::ChromeSyncClient>(profile); |
@@ -69,7 +71,7 @@ std::unique_ptr<TestingProfile> MakeSignedInTestingProfile() { |
std::unique_ptr<KeyedService> BuildMockProfileSyncService( |
content::BrowserContext* context) { |
- return base::MakeUnique<ProfileSyncServiceMock>( |
+ return base::MakeUnique<browser_sync::ProfileSyncServiceMock>( |
CreateProfileSyncServiceParamsForTest( |
Profile::FromBrowserContext(context))); |
} |