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

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

Issue 288813003: Add username of account that has an auth error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 6 years, 7 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/ui/webui/sync_setup_handler_unittest.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
index 625680993935a493e8ba276aeff433c75ba9bfe2..6a888dc8464e339e5ace63d9f708c0009dbd7885 100644
--- a/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler_unittest.cc
@@ -880,7 +880,7 @@ TEST_F(SyncSetupHandlerTest, ShowSigninOnAuthError) {
FakeAuthStatusProvider provider(
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get())->
signin_error_controller());
- provider.SetAuthError(kTestUser, error_);
+ provider.SetAuthError(kTestUser, kTestUser, error_);
EXPECT_CALL(*mock_pss_, IsSyncEnabledAndLoggedIn())
.WillRepeatedly(Return(true));
EXPECT_CALL(*mock_pss_, IsOAuthRefreshTokenAvailable())

Powered by Google App Engine
This is Rietveld 408576698