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

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

Issue 253063002: CleanUp: Introduce UserInfo. Move session_state stuff to ash/session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: chrome/browser/chromeos/extensions/first_run_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/first_run_private_api.cc b/chrome/browser/chromeos/extensions/first_run_private_api.cc
index edbda7473ad7641e6d4c24971390356514a68ac8..acdfa2f535c1403194aeff47e989af9e3a85d7ec 100644
--- a/chrome/browser/chromeos/extensions/first_run_private_api.cc
+++ b/chrome/browser/chromeos/extensions/first_run_private_api.cc
@@ -19,11 +19,11 @@ bool FirstRunPrivateGetLocalizedStringsFunction::RunImpl() {
base::DictionaryValue* localized_strings = new base::DictionaryValue();
chromeos::User* user =
chromeos::UserManager::Get()->GetUserByProfile(GetProfile());
- if (!user->given_name().empty()) {
+ if (!user->GetGivenName().empty()) {
localized_strings->SetString(
"greetingHeader",
l10n_util::GetStringFUTF16(IDS_FIRST_RUN_GREETING_STEP_HEADER,
- user->given_name()));
+ user->GetGivenName()));
} else {
localized_strings->SetString(
"greetingHeader",

Powered by Google App Engine
This is Rietveld 408576698