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

Unified Diff: chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Fix Win GN build. Created 5 years, 1 month 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/chromeos/policy/consumer_unenrollment_handler_unittest.cc
diff --git a/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc b/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc
index 1a9ba8be603db162208022ac6874c55d718d0fe9..c9717879aca6d855a5e94a0242c261ead79567e7 100644
--- a/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc
+++ b/chrome/browser/chromeos/policy/consumer_unenrollment_handler_unittest.cc
@@ -44,7 +44,8 @@ class ConsumerUnenrollmentHandlerTest
// Set up the ownership, so that we can modify device settings.
owner_key_util_->SetPrivateKey(device_policy_.GetSigningKey());
- InitOwner(device_policy_.policy_data().username(), true);
+ InitOwner(AccountId::FromUserEmail(device_policy_.policy_data().username()),
+ true);
FlushDeviceSettings();

Powered by Google App Engine
This is Rietveld 408576698