OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "chrome/browser/chromeos/login/auth_attempt_state.h" | 11 #include "chrome/browser/chromeos/login/auth_attempt_state.h" |
12 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 12 #include "chrome/browser/chromeos/login/login_status_consumer.h" |
13 #include "chrome/common/net/gaia/gaia_auth_consumer.h" | 13 #include "google_apis/gaia/gaia_auth_consumer.h" |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
16 | 16 |
17 class TestAttemptState : public AuthAttemptState { | 17 class TestAttemptState : public AuthAttemptState { |
18 public: | 18 public: |
19 TestAttemptState(const std::string& username, | 19 TestAttemptState(const std::string& username, |
20 const std::string& password, | 20 const std::string& password, |
21 const std::string& ascii_hash, | 21 const std::string& ascii_hash, |
22 const std::string& login_token, | 22 const std::string& login_token, |
23 const std::string& login_captcha, | 23 const std::string& login_captcha, |
(...skipping 23 matching lines...) Expand all Loading... |
47 virtual bool cryptohome_outcome() OVERRIDE; | 47 virtual bool cryptohome_outcome() OVERRIDE; |
48 virtual cryptohome::MountError cryptohome_code() OVERRIDE; | 48 virtual cryptohome::MountError cryptohome_code() OVERRIDE; |
49 | 49 |
50 private: | 50 private: |
51 DISALLOW_COPY_AND_ASSIGN(TestAttemptState); | 51 DISALLOW_COPY_AND_ASSIGN(TestAttemptState); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace chromeos | 54 } // namespace chromeos |
55 | 55 |
56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ | 56 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_TEST_ATTEMPT_STATE_H_ |
OLD | NEW |