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

Unified Diff: chrome/browser/chromeos/login/mock_login_status_consumer.cc

Issue 12704002: Support for auth code based authentication flow for both app and web UI driven flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/chromeos/login/mock_login_status_consumer.cc
diff --git a/chrome/browser/chromeos/login/mock_login_status_consumer.cc b/chrome/browser/chromeos/login/mock_login_status_consumer.cc
index dae907b44c873e8ba1cd2f98c81ac413c970d64f..8362ed0bdd5ded6dc70f5e440b7a3a9dbcdafbad 100644
--- a/chrome/browser/chromeos/login/mock_login_status_consumer.cc
+++ b/chrome/browser/chromeos/login/mock_login_status_consumer.cc
@@ -38,8 +38,7 @@ void MockConsumer::OnGuestSuccessQuitAndFail() {
// static
void MockConsumer::OnSuccessQuit(
- const std::string& username,
- const std::string& password,
+ const UserCredentials& credentials,
bool pending_requests,
bool using_oauth) {
MessageLoop::current()->Quit();
@@ -47,8 +46,7 @@ void MockConsumer::OnSuccessQuit(
// static
void MockConsumer::OnSuccessQuitAndFail(
- const std::string& username,
- const std::string& password,
+ const UserCredentials& credentials,
bool pending_requests,
bool using_oauth) {
ADD_FAILURE() << "Login should NOT have succeeded!";

Powered by Google App Engine
This is Rietveld 408576698