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

Unified Diff: ios/chrome/browser/sync/ios_chrome_sync_client.mm

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: ios/chrome/browser/sync/ios_chrome_sync_client.mm
diff --git a/ios/chrome/browser/sync/ios_chrome_sync_client.mm b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
index 0894758e472b13fb2ee9d775a615f88da8e46344..4eb8851f4327d2cafc13136d64dd07199866c187 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -158,7 +158,7 @@ void IOSChromeSyncClient::Initialize() {
net::URLRequestContextGetter* url_request_context_getter =
browser_state_->GetRequestContext();
- component_factory_.reset(new ProfileSyncComponentsFactoryImpl(
+ component_factory_.reset(new browser_sync::ProfileSyncComponentsFactoryImpl(
this, ::GetChannel(), ::GetVersionString(),
ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET,
*base::CommandLine::ForCurrentProcess(),
@@ -397,7 +397,7 @@ void IOSChromeSyncClient::GetDeviceInfoTrackers(
->GetChromeBrowserStateManager()
->GetLoadedBrowserStates();
for (ios::ChromeBrowserState* browser_state : browser_state_list) {
- ProfileSyncService* profile_sync_service =
+ browser_sync::ProfileSyncService* profile_sync_service =
IOSChromeProfileSyncServiceFactory::GetForBrowserState(browser_state);
if (profile_sync_service != nullptr) {
const sync_driver::DeviceInfoTracker* tracker =

Powered by Google App Engine
This is Rietveld 408576698