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

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

Issue 2529103002: Add account_type into AccountId (Closed)
Patch Set: Created 4 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/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 ae1a8719ccc20f9a3dc446d68c0fb3e762592a30..9e98f2c6478677fd329a6937359e6a4273bf33c6 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 */,
+ std::string() /* account_type */);
}
*email = account_id.GetUserEmail();
}

Powered by Google App Engine
This is Rietveld 408576698