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

Unified Diff: chrome/browser/ui/webui/options/chromeos/user_image_source.cc

Issue 2529103002: Add account_type into AccountId (Closed)
Patch Set: Fix MultiUserWindowManagerChromeOSTest.* Created 4 years 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/ui/webui/options/chromeos/user_image_source.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/user_image_source.cc b/chrome/browser/ui/webui/options/chromeos/user_image_source.cc
index d302cbfb181902662e122fce7a9f3541074a0405..42ddfcc6d7e7f472649d98ee737ed2d3dd434b7f 100644
--- a/chrome/browser/ui/webui/options/chromeos/user_image_source.cc
+++ b/chrome/browser/ui/webui/options/chromeos/user_image_source.cc
@@ -38,7 +38,8 @@ void ParseRequest(const GURL& url, std::string* email) {
if (!status) {
LOG(WARNING) << "Failed to deserialize account_id.";
account_id = user_manager::known_user::GetAccountId(
- serialized_account_id, std::string() /* gaia_id */);
+ serialized_account_id, std::string() /* gaia_id */,
+ AccountType::UNKNOWN);
}
*email = account_id.GetUserEmail();
}

Powered by Google App Engine
This is Rietveld 408576698