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 COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "components/signin/core/browser/signin_client.h" | 13 #include "components/signin/core/browser/signin_client.h" |
14 #include "net/url_request/url_request_test_util.h" | 14 #include "net/url_request/url_request_test_util.h" |
15 | 15 |
16 class PrefService; | 16 class PrefService; |
17 | 17 |
18 // An implementation of SigninClient for use in unittests. Instantiates test | 18 // An implementation of SigninClient for use in unittests. Instantiates test |
19 // versions of the various objects that SigninClient is required to provide as | 19 // versions of the various objects that SigninClient is required to provide as |
20 // part of its interface. | 20 // part of its interface. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 PrefService* pref_service_; | 100 PrefService* pref_service_; |
101 bool are_signin_cookies_allowed_; | 101 bool are_signin_cookies_allowed_; |
102 | 102 |
103 // Pointer to be filled by PostSignedIn. | 103 // Pointer to be filled by PostSignedIn. |
104 std::string signed_in_password_; | 104 std::string signed_in_password_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); | 106 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); |
107 }; | 107 }; |
108 | 108 |
109 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 109 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
OLD | NEW |