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

Unified Diff: components/browser_sync/profile_sync_service.cc

Issue 2958303002: [Sync] Maintain a global_id mapping to update UserEvents that references navigations (Closed)
Patch Set: Hopefully fix iOS compile issue. Created 3 years, 6 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: components/browser_sync/profile_sync_service.cc
diff --git a/components/browser_sync/profile_sync_service.cc b/components/browser_sync/profile_sync_service.cc
index 0bf8b696ee84cd1cba28b03c9445e1e5727954d8..a684271b0213ccd5107375301d27cfa6e1888e5b 100644
--- a/components/browser_sync/profile_sync_service.cc
+++ b/components/browser_sync/profile_sync_service.cc
@@ -2161,6 +2161,10 @@ void ProfileSyncService::GetAllNodes(
}
}
+syncer::GlobalIdMapper* ProfileSyncService::GetGlobalIdMapper() const {
+ return sessions_sync_manager_.get();
+}
+
base::WeakPtr<syncer::JsController> ProfileSyncService::GetJsController() {
DCHECK(thread_checker_.CalledOnValidThread());
return sync_js_controller_.AsWeakPtr();

Powered by Google App Engine
This is Rietveld 408576698