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 #include "components/autofill/core/browser/test_autofill_client.h" | 5 #include "components/autofill/core/browser/test_autofill_client.h" |
6 | 6 |
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
8 | 8 |
9 namespace autofill { | 9 namespace autofill { |
10 | 10 |
11 TestAutofillClient::TestAutofillClient() { | 11 TestAutofillClient::TestAutofillClient() { |
12 } | 12 } |
13 TestAutofillClient::~TestAutofillClient() { | 13 TestAutofillClient::~TestAutofillClient() { |
14 } | 14 } |
15 | 15 |
16 PersonalDataManager* TestAutofillClient::GetPersonalDataManager() { | 16 PersonalDataManager* TestAutofillClient::GetPersonalDataManager() { |
17 return NULL; | 17 return nullptr; |
18 } | 18 } |
19 | 19 |
20 scoped_refptr<AutofillWebDataService> TestAutofillClient::GetDatabase() { | 20 scoped_refptr<AutofillWebDataService> TestAutofillClient::GetDatabase() { |
21 return scoped_refptr<AutofillWebDataService>(NULL); | 21 return scoped_refptr<AutofillWebDataService>(nullptr); |
22 } | 22 } |
23 | 23 |
24 PrefService* TestAutofillClient::GetPrefs() { | 24 PrefService* TestAutofillClient::GetPrefs() { |
25 return prefs_.get(); | 25 return prefs_.get(); |
26 } | 26 } |
27 | 27 |
| 28 IdentityProvider* TestAutofillClient::GetIdentityProvider() { |
| 29 return nullptr; |
| 30 } |
| 31 |
28 void TestAutofillClient::HideRequestAutocompleteDialog() { | 32 void TestAutofillClient::HideRequestAutocompleteDialog() { |
29 } | 33 } |
30 | 34 |
31 void TestAutofillClient::ShowAutofillSettings() { | 35 void TestAutofillClient::ShowAutofillSettings() { |
32 } | 36 } |
33 | 37 |
34 void TestAutofillClient::ShowUnmaskPrompt( | 38 void TestAutofillClient::ShowUnmaskPrompt( |
35 const CreditCard& card, | 39 const CreditCard& card, |
36 base::WeakPtr<CardUnmaskDelegate> delegate) { | 40 base::WeakPtr<CardUnmaskDelegate> delegate) { |
37 } | 41 } |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 } | 91 } |
88 | 92 |
89 void TestAutofillClient::OnFirstUserGestureObserved() { | 93 void TestAutofillClient::OnFirstUserGestureObserved() { |
90 } | 94 } |
91 | 95 |
92 void TestAutofillClient::LinkClicked(const GURL& url, | 96 void TestAutofillClient::LinkClicked(const GURL& url, |
93 WindowOpenDisposition disposition) { | 97 WindowOpenDisposition disposition) { |
94 } | 98 } |
95 | 99 |
96 } // namespace autofill | 100 } // namespace autofill |
OLD | NEW |