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

Unified Diff: chrome/browser/chromeos/cros/onc_network_parser.cc

Issue 10541036: Show account part of the display email when real name is not available. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: comments Created 8 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/onc_network_parser.cc
diff --git a/chrome/browser/chromeos/cros/onc_network_parser.cc b/chrome/browser/chromeos/cros/onc_network_parser.cc
index 05ef0ec63a800b57bd842036bd49b0a954575d77..52439b5b556278bdbdb6140becc75115293f541e 100644
--- a/chrome/browser/chromeos/cros/onc_network_parser.cc
+++ b/chrome/browser/chromeos/cros/onc_network_parser.cc
@@ -684,7 +684,7 @@ std::string OncNetworkParser::GetUserExpandedValue(
const User& logged_in_user(UserManager::Get()->GetLoggedInUser());
ReplaceSubstringsAfterOffset(&string_value, 0,
onc::substitutes::kLoginIDField,
- logged_in_user.GetAccountName());
+ logged_in_user.GetAccountName(false));
ReplaceSubstringsAfterOffset(&string_value, 0,
onc::substitutes::kEmailField,
logged_in_user.email());
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698