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

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

Issue 2471993002: Remove calls to User::email() from chrome/browser/ui/webui/* (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/shared_options_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc b/chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc
index e3ed3967316cc6ff13c245fdb14f1a9d735075c3..668707e15632ecb685e6b0d0118e47feb6c35de0 100644
--- a/chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc
+++ b/chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc
@@ -151,9 +151,9 @@ class SharedOptionsTest : public LoginManagerTest {
// Creates a browser and navigates to the Settings page.
Browser* CreateBrowserForUser(const user_manager::User* user) {
Profile* profile = ProfileHelper::Get()->GetProfileByUserUnsafe(user);
- SigninManagerFactory::GetForProfile(profile)->
- SetAuthenticatedAccountInfo(GetGaiaIDForUserID(user->email()),
- user->email());
+ SigninManagerFactory::GetForProfile(profile)->SetAuthenticatedAccountInfo(
+ GetGaiaIDForUserID(user->GetAccountId().GetUserEmail()),
+ user->GetAccountId().GetUserEmail());
ui_test_utils::BrowserAddedObserver observer;
Browser* browser = CreateBrowser(profile);

Powered by Google App Engine
This is Rietveld 408576698