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

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

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.h
diff --git a/chrome/browser/chromeos/login/auth/test_attempt_state.h b/chrome/browser/chromeos/login/auth/test_attempt_state.h
index c847d237d48f33d00e18c9a757a5b2098fcec8ab..4eb2a7c1fc8292f5e9ab8620a735b007fcb72269 100644
--- a/chrome/browser/chromeos/login/auth/test_attempt_state.h
+++ b/chrome/browser/chromeos/login/auth/test_attempt_state.h
@@ -5,23 +5,18 @@
#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TEST_ATTEMPT_STATE_H_
#define CHROME_BROWSER_CHROMEOS_LOGIN_AUTH_TEST_ATTEMPT_STATE_H_
-#include <string>
-
#include "base/compiler_specific.h"
#include "chrome/browser/chromeos/login/auth/auth_attempt_state.h"
#include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
-#include "chrome/browser/chromeos/login/users/user.h"
#include "google_apis/gaia/gaia_auth_consumer.h"
namespace chromeos {
+class UserContext;
+
class TestAttemptState : public AuthAttemptState {
public:
- TestAttemptState(const UserContext& credentials,
- const std::string& login_token,
- const std::string& login_captcha,
- const User::UserType user_type,
- const bool user_is_new);
+ TestAttemptState(const UserContext& credentials, const bool user_is_new);
virtual ~TestAttemptState();

Powered by Google App Engine
This is Rietveld 408576698