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_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/i18n/rtl.h" | 11 #include "base/i18n/rtl.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/prefs/pref_service.h" |
14 #include "components/autofill/core/browser/autofill_client.h" | 15 #include "components/autofill/core/browser/autofill_client.h" |
15 #include "components/prefs/pref_service.h" | |
16 #include "components/rappor/test_rappor_service.h" | 16 #include "components/rappor/test_rappor_service.h" |
17 #include "google_apis/gaia/fake_identity_provider.h" | 17 #include "google_apis/gaia/fake_identity_provider.h" |
18 #include "google_apis/gaia/fake_oauth2_token_service.h" | 18 #include "google_apis/gaia/fake_oauth2_token_service.h" |
19 | 19 |
20 namespace autofill { | 20 namespace autofill { |
21 | 21 |
22 // This class is for easier writing of tests. | 22 // This class is for easier writing of tests. |
23 class TestAutofillClient : public AutofillClient { | 23 class TestAutofillClient : public AutofillClient { |
24 public: | 24 public: |
25 TestAutofillClient(); | 25 TestAutofillClient(); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 scoped_ptr<rappor::TestRapporService> rappor_service_; | 86 scoped_ptr<rappor::TestRapporService> rappor_service_; |
87 | 87 |
88 bool is_context_secure_; | 88 bool is_context_secure_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); | 90 DISALLOW_COPY_AND_ASSIGN(TestAutofillClient); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace autofill | 93 } // namespace autofill |
94 | 94 |
95 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ | 95 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_AUTOFILL_CLIENT_H_ |
OLD | NEW |