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

Unified Diff: chrome/browser/chromeos/login/auth/test_attempt_state.cc

Issue 290483003: Tame the proliferation of UserContext constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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/chromeos/login/auth/test_attempt_state.cc
diff --git a/chrome/browser/chromeos/login/auth/test_attempt_state.cc b/chrome/browser/chromeos/login/auth/test_attempt_state.cc
index c5313e2a5f1202046ddc83aafc06977b3d7f977f..c32851392803d259b756233b0d1c0880f1f0b4cb 100644
--- a/chrome/browser/chromeos/login/auth/test_attempt_state.cc
+++ b/chrome/browser/chromeos/login/auth/test_attempt_state.cc
@@ -4,21 +4,17 @@
#include "chrome/browser/chromeos/login/auth/test_attempt_state.h"
-#include <string>
-
+#include "chrome/browser/chromeos/login/users/user.h"
#include "google_apis/gaia/gaia_auth_consumer.h"
namespace chromeos {
TestAttemptState::TestAttemptState(const UserContext& credentials,
- const std::string& login_token,
- const std::string& login_captcha,
- const User::UserType user_type,
const bool user_is_new)
: AuthAttemptState(credentials,
- login_token,
- login_captcha,
- user_type,
+ User::USER_TYPE_REGULAR,
+ false, // unlock
+ false, // online_complete
user_is_new) {
}
« no previous file with comments | « chrome/browser/chromeos/login/auth/test_attempt_state.h ('k') | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698