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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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 940866de8129ed9f357d7a4b46f4e78d27043a72..dbf8d2b6a4873106001dae80742d0f84a03fcd79 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<sync_driver::DeviceInfo> device_info =
+ std::unique_ptr<syncer::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);
- sync_driver::SyncService* sync_service =
+ syncer::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