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

Unified Diff: trunk/src/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc

Issue 137133007: Revert 246674 "Indicate which authentication flow was used in Us..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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: trunk/src/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc (revision 246711)
+++ trunk/src/chrome/browser/chromeos/login/parallel_authenticator_unittest.cc (working copy)
@@ -146,13 +146,11 @@
const std::string& password,
const std::string& username_hash_,
bool pending) {
- EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(
- username,
- password,
- std::string(),
- username_hash_,
- true, // using_oauth
- UserContext::AUTH_FLOW_OFFLINE)))
+ EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(username,
+ password,
+ std::string(),
+ username_hash_,
+ true /* using_oauth */)))
.WillOnce(Invoke(MockConsumer::OnSuccessQuit))
.RetiresOnSaturation();
}
@@ -209,13 +207,11 @@
};
TEST_F(ParallelAuthenticatorTest, OnLoginSuccess) {
- EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(
- username_,
- password_,
- std::string(),
- username_hash_,
- true, // using oauth
- UserContext::AUTH_FLOW_OFFLINE)))
+ EXPECT_CALL(consumer_, OnLoginSuccess(UserContext(username_,
+ password_,
+ std::string(),
+ username_hash_,
+ true /* using oauth */)))
.Times(1)
.RetiresOnSaturation();

Powered by Google App Engine
This is Rietveld 408576698