OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_LOGIN_AUTH_MOCK_AUTH_ATTEMPT_STATE_RESOLVER_H_ | 5 #ifndef CHROMEOS_LOGIN_AUTH_MOCK_AUTH_ATTEMPT_STATE_RESOLVER_H_ |
6 #define CHROMEOS_LOGIN_AUTH_MOCK_AUTH_ATTEMPT_STATE_RESOLVER_H_ | 6 #define CHROMEOS_LOGIN_AUTH_MOCK_AUTH_ATTEMPT_STATE_RESOLVER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "chromeos/chromeos_export.h" | 9 #include "chromeos/chromeos_export.h" |
10 #include "chromeos/login/auth/auth_attempt_state_resolver.h" | 10 #include "chromeos/login/auth/auth_attempt_state_resolver.h" |
11 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
12 | 12 |
13 namespace chromeos { | 13 namespace chromeos { |
14 | 14 |
15 class CHROMEOS_EXPORT MockAuthAttemptStateResolver | 15 class CHROMEOS_EXPORT MockAuthAttemptStateResolver |
16 : public AuthAttemptStateResolver { | 16 : public AuthAttemptStateResolver { |
17 public: | 17 public: |
18 MockAuthAttemptStateResolver(); | 18 MockAuthAttemptStateResolver(); |
19 virtual ~MockAuthAttemptStateResolver(); | 19 virtual ~MockAuthAttemptStateResolver(); |
20 | 20 |
21 MOCK_METHOD0(Resolve, void(void)); | 21 MOCK_METHOD0(Resolve, void(void)); |
22 | 22 |
23 private: | 23 private: |
24 DISALLOW_COPY_AND_ASSIGN(MockAuthAttemptStateResolver); | 24 DISALLOW_COPY_AND_ASSIGN(MockAuthAttemptStateResolver); |
25 }; | 25 }; |
26 | 26 |
27 } // namespace chromeos | 27 } // namespace chromeos |
28 | 28 |
29 #endif // CHROMEOS_LOGIN_AUTH_MOCK_AUTH_ATTEMPT_STATE_RESOLVER_H_ | 29 #endif // CHROMEOS_LOGIN_AUTH_MOCK_AUTH_ATTEMPT_STATE_RESOLVER_H_ |
OLD | NEW |