Index: components/sync/driver/sync_service_utils.cc |
diff --git a/components/sync/driver/sync_service_utils.cc b/components/sync/driver/sync_service_utils.cc |
index c2aeafe97f8423974cb894f94178cf021981de71..070e85f60df0b18b1159d4f2f2fa9c58ea955cef 100644 |
--- a/components/sync/driver/sync_service_utils.cc |
+++ b/components/sync/driver/sync_service_utils.cc |
@@ -7,16 +7,15 @@ |
#include "components/sync/driver/sync_prefs.h" |
#include "components/sync/driver/sync_service.h" |
-namespace sync_driver { |
+namespace syncer { |
bool IsTabSyncEnabledAndUnencrypted(SyncService* sync_service, |
PrefService* pref_service) { |
// Check field trials and settings allow sending the URL on suggest requests. |
- sync_driver::SyncPrefs sync_prefs(pref_service); |
+ SyncPrefs sync_prefs(pref_service); |
return sync_service && sync_service->CanSyncStart() && |
- sync_prefs.GetPreferredDataTypes(syncer::UserTypes()) |
- .Has(syncer::PROXY_TABS) && |
- !sync_service->GetEncryptedDataTypes().Has(syncer::SESSIONS); |
+ sync_prefs.GetPreferredDataTypes(UserTypes()).Has(PROXY_TABS) && |
+ !sync_service->GetEncryptedDataTypes().Has(SESSIONS); |
} |
-} // namespace sync_driver |
+} // namespace syncer |