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

Unified Diff: chrome/browser/ui/webui/policy_ui.cc

Issue 9355059: Renaming virtual setters/getters in UserManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: year Created 8 years, 9 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 | « chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/policy_ui.cc
diff --git a/chrome/browser/ui/webui/policy_ui.cc b/chrome/browser/ui/webui/policy_ui.cc
index 9cb96ac0eb6c3c24fb656b7342ba71ca5e7896f4..c9190ea802bd4e85196483c5bb29ab040b97074d 100644
--- a/chrome/browser/ui/webui/policy_ui.cc
+++ b/chrome/browser/ui/webui/policy_ui.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -171,7 +171,8 @@ DictionaryValue* PolicyUIHandler::GetStatusData() {
results->SetString("userLastFetchTime", GetLastFetchTime(user_subsystem));
#if defined(OS_CHROMEOS)
- const chromeos::User& user = chromeos::UserManager::Get()->logged_in_user();
+ const chromeos::User& user =
+ chromeos::UserManager::Get()->GetLoggedInUser();
results->SetString("user", ASCIIToUTF16(user.email()));
#else
results->SetString("user", string16());
« no previous file with comments | « chrome/browser/ui/webui/options2/chromeos/core_chromeos_options_handler2.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698