Index: chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
diff --git a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
index 5a3cf8d2987e56f7c0afa0abc2a82aa28b1eb5a8..d9125c41d5ddd4d5e0177e8fad3299ebc0a71369 100644 |
--- a/chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
+++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.cc |
@@ -161,7 +161,7 @@ bool ProfileSyncServiceHarness::SetupSync( |
service()->GoogleSigninSucceeded(username_, password_); |
#if defined(ENABLE_MANAGED_USERS) |
- std::string account_id = profile_->IsManaged() ? |
+ std::string account_id = profile_->IsSupervised() ? |
managed_users::kManagedUserPseudoEmail : username_; |
#else |
std::string account_id = username_; |