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

Unified Diff: trunk/src/chrome/browser/chromeos/extensions/first_run_private_api.cc

Issue 260783002: Revert 267158 "CleanUp: Introduce UserInfo. Move session_state s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/browser/chromeos/extensions/first_run_private_api.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/extensions/first_run_private_api.cc (revision 267249)
+++ trunk/src/chrome/browser/chromeos/extensions/first_run_private_api.cc (working copy)
@@ -19,11 +19,11 @@
base::DictionaryValue* localized_strings = new base::DictionaryValue();
chromeos::User* user =
chromeos::UserManager::Get()->GetUserByProfile(GetProfile());
- if (!user->GetGivenName().empty()) {
+ if (!user->given_name().empty()) {
localized_strings->SetString(
"greetingHeader",
l10n_util::GetStringFUTF16(IDS_FIRST_RUN_GREETING_STEP_HEADER,
- user->GetGivenName()));
+ user->given_name()));
} else {
localized_strings->SetString(
"greetingHeader",

Powered by Google App Engine
This is Rietveld 408576698