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

Unified Diff: chrome/browser/chromeos/login/test_login_utils.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: rebase4 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
« no previous file with comments | « chrome/browser/chromeos/login/test_login_utils.h ('k') | chrome/browser/chromeos/login/user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/test_login_utils.cc
diff --git a/chrome/browser/chromeos/login/test_login_utils.cc b/chrome/browser/chromeos/login/test_login_utils.cc
index 051fce60818d7110bf1ba8cad237136d936b1b38..8e3a7026943de5b845655270667f62f5581da4cb 100644
--- a/chrome/browser/chromeos/login/test_login_utils.cc
+++ b/chrome/browser/chromeos/login/test_login_utils.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/chromeos/login/test_login_utils.h"
#include "chrome/browser/chromeos/login/mock_authenticator.h"
+#include "chrome/browser/chromeos/login/user.h"
namespace chromeos {
@@ -17,14 +18,13 @@ TestLoginUtils::TestLoginUtils(const std::string& expected_username,
TestLoginUtils::~TestLoginUtils() {}
void TestLoginUtils::PrepareProfile(
- const std::string& username,
+ const UserCredentials& credentials,
const std::string& display_email,
- const std::string& password,
bool using_oauth,
bool has_cookies,
Delegate* delegate) {
- DCHECK_EQ(expected_username_, username);
- DCHECK_EQ(expected_password_, password);
+ DCHECK_EQ(expected_username_, credentials.username);
+ DCHECK_EQ(expected_password_, credentials.password);
// Profile hasn't been loaded.
delegate->OnProfilePrepared(NULL);
}
« no previous file with comments | « chrome/browser/chromeos/login/test_login_utils.h ('k') | chrome/browser/chromeos/login/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698