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

Unified Diff: chrome/browser/signin/signin_global_error_unittest.cc

Issue 763673002: Replace direct access to kGoogleServicesUsername with calls to SigninManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nullptr Created 6 years 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/signin/signin_global_error_unittest.cc
diff --git a/chrome/browser/signin/signin_global_error_unittest.cc b/chrome/browser/signin/signin_global_error_unittest.cc
index f01e9e91db54f2c11d17f73ba68ef48971c566bc..94e3882bb5d576780d08720647ec6a0cb1d5bb74 100644
--- a/chrome/browser/signin/signin_global_error_unittest.cc
+++ b/chrome/browser/signin/signin_global_error_unittest.cc
@@ -36,8 +36,6 @@ class SigninGlobalErrorTest : public testing::Test {
FakeSigninManagerBase::Build);
profile_ = builder.Build();
- profile_->GetPrefs()->SetString(
- prefs::kGoogleServicesUsername, kTestAccountId);
SigninManagerFactory::GetForProfile(profile_.get())
->SetAuthenticatedUsername(kTestAccountId);
« no previous file with comments | « chrome/browser/signin/chrome_signin_client.cc ('k') | chrome/browser/supervised_user/custodian_profile_downloader_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698