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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.h

Issue 1662843002: Revert of Delete base/prefs and update callers to use components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698