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

Unified Diff: chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. 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: chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc b/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
index 0ca0cfd6ff30e418f26bea25beff162849f49f55..fe5472f102187f8be0d9c0545a41b3f718f47b38 100644
--- a/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
+++ b/chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.cc
@@ -30,9 +30,9 @@ bool IsArcEnabled(Profile* profile) {
ArcPackageSyncDataTypeController::ArcPackageSyncDataTypeController(
syncer::ModelType type,
const base::Closure& dump_stack,
- sync_driver::SyncClient* sync_client,
+ syncer::SyncClient* sync_client,
Profile* profile)
- : sync_driver::UIDataTypeController(type, dump_stack, sync_client),
+ : syncer::UIDataTypeController(type, dump_stack, sync_client),
profile_(profile),
sync_client_(sync_client) {
pref_registrar_.Init(profile_->GetPrefs());
@@ -97,13 +97,13 @@ void ArcPackageSyncDataTypeController::OnArcEnabledPrefChanged() {
}
void ArcPackageSyncDataTypeController::EnableDataType() {
- sync_driver::SyncService* sync_service = sync_client_->GetSyncService();
+ syncer::SyncService* sync_service = sync_client_->GetSyncService();
DCHECK(sync_service);
sync_service->ReenableDatatype(type());
}
bool ArcPackageSyncDataTypeController::ShouldSyncArc() const {
- sync_driver::SyncService* sync_service = sync_client_->GetSyncService();
+ syncer::SyncService* sync_service = sync_client_->GetSyncService();
DCHECK(sync_service);
return sync_service->GetPreferredDataTypes().Has(type());
}
« no previous file with comments | « chrome/browser/ui/app_list/arc/arc_package_sync_data_type_controller.h ('k') | chrome/browser/ui/ash/app_sync_ui_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698