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

Unified Diff: chrome/browser/chromeos/attestation/platform_verification_flow_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: Update after review. Created 5 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: chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc
diff --git a/chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc b/chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc
index 21dd3c50a8851dcbe6d0e982e7463a904b38e585..839e17272e1d4f9688e2b989ee12a240eeafaa6a 100644
--- a/chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc
+++ b/chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc
@@ -50,7 +50,7 @@ class FakeDelegate : public PlatformVerificationFlow::Delegate {
is_permitted_by_user_(true),
is_in_supported_mode_(true) {
// Configure a user for the mock user manager.
- mock_user_manager_.SetActiveUser(kTestEmail);
+ mock_user_manager_.SetActiveUser(AccountId::FromUserEmail(kTestEmail));
}
~FakeDelegate() override {}

Powered by Google App Engine
This is Rietveld 408576698