Index: chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc b/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
index 8f75d38544ba1c9afee93274981b6c57ecadcb50..45367bdf85892b8438bd7b0f6b3fbe8d252f598c 100644 |
--- a/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
+++ b/chrome/browser/chromeos/policy/network_configuration_updater_unittest.cc |
@@ -25,6 +25,7 @@ |
#include "components/policy/core/common/policy_map.h" |
#include "components/policy/core/common/policy_service_impl.h" |
#include "components/policy/core/common/policy_types.h" |
+#include "components/signin/core/account_id/account_id.h" |
#include "components/user_manager/user.h" |
#include "components/user_manager/user_type.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
@@ -53,7 +54,7 @@ const char kFakeUsernameHash[] = "fake hash"; |
class FakeUser : public user_manager::User { |
public: |
- FakeUser() : User(kFakeUserEmail) { |
+ FakeUser() : User(AccountId::FromUserEmail(kFakeUserEmail)) { |
set_display_email(kFakeUserEmail); |
set_username_hash(kFakeUsernameHash); |
} |