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

Unified Diff: ios/chrome/browser/ui/webui/history/browsing_history_handler.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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/ui/webui/history/browsing_history_handler.cc
diff --git a/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc b/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
index dbf8d2b6a4873106001dae80742d0f84a03fcd79..940866de8129ed9f357d7a4b46f4e78d27043a72 100644
--- a/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
+++ b/ios/chrome/browser/ui/webui/history/browsing_history_handler.cc
@@ -111,7 +111,7 @@ void GetDeviceNameAndType(const browser_sync::ProfileSyncService* sync_service,
DCHECK(sync_service->GetDeviceInfoTracker());
DCHECK(sync_service->GetDeviceInfoTracker()->IsSyncing());
- std::unique_ptr<syncer::DeviceInfo> device_info =
+ std::unique_ptr<sync_driver::DeviceInfo> device_info =
sync_service->GetDeviceInfoTracker()->GetDeviceInfo(client_id);
if (device_info.get()) {
*name = device_info->client_name();
@@ -282,7 +282,7 @@ void BrowsingHistoryHandler::RegisterMessages() {
original_browser_state, ServiceAccessType::EXPLICIT_ACCESS);
scoped_refptr<history::TopSites> top_sites =
ios::TopSitesFactory::GetForBrowserState(original_browser_state);
- syncer::SyncService* sync_service =
+ sync_driver::SyncService* sync_service =
IOSChromeProfileSyncServiceFactory::GetForBrowserState(
original_browser_state);
web::URLDataSourceIOS::Add(
« no previous file with comments | « ios/chrome/browser/ui/autofill/autofill_client_ios.mm ('k') | ios/chrome/browser/ui/webui/history/favicon_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698