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

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

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. 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 0e6c753b1c060dd7fa335bc0c2065360381df4a2..c008cd54f3375a52068d2d017718950dc22226c4 100644
--- a/ios/chrome/browser/sync/ios_chrome_sync_client.mm
+++ b/ios/chrome/browser/sync/ios_chrome_sync_client.mm
@@ -106,12 +106,12 @@ class SyncSessionsClientImpl : public sync_sessions::SyncSessionsClient {
!url.SchemeIsFile();
}
- browser_sync::SyncedWindowDelegatesGetter* GetSyncedWindowDelegatesGetter()
+ sync_sessions::SyncedWindowDelegatesGetter* GetSyncedWindowDelegatesGetter()
override {
return window_delegates_getter_.get();
}
- std::unique_ptr<browser_sync::LocalSessionEventRouter>
+ std::unique_ptr<sync_sessions::LocalSessionEventRouter>
GetLocalSessionEventRouter() override {
syncer::SyncableService::StartSyncFlare flare(
ios::sync_start_util::GetFlareForSyncableService(
@@ -122,7 +122,7 @@ class SyncSessionsClientImpl : public sync_sessions::SyncSessionsClient {
private:
ios::ChromeBrowserState* const browser_state_;
- const std::unique_ptr<browser_sync::SyncedWindowDelegatesGetter>
+ const std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter>
window_delegates_getter_;
DISALLOW_COPY_AND_ASSIGN(SyncSessionsClientImpl);
@@ -297,7 +297,7 @@ IOSChromeSyncClient::GetSyncableServiceForType(syncer::ModelType type) {
}
case syncer::FAVICON_IMAGES:
case syncer::FAVICON_TRACKING: {
- browser_sync::FaviconCache* favicons =
+ sync_sessions::FaviconCache* favicons =
IOSChromeProfileSyncServiceFactory::GetForBrowserState(browser_state_)
->GetFaviconCache();
return favicons ? favicons->AsWeakPtr()
« no previous file with comments | « components/sync_sessions/tab_node_pool_unittest.cc ('k') | ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698