Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: chrome/browser/sync/profile_sync_test_util.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)));
}
« no previous file with comments | « chrome/browser/sync/profile_sync_test_util.h ('k') | chrome/browser/sync/sessions/sync_sessions_metrics_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698