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 CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 26 matching lines...) Expand all Loading... |
37 public: | 37 public: |
38 ~ChromeAutofillClient() override; | 38 ~ChromeAutofillClient() override; |
39 | 39 |
40 // AutofillClient: | 40 // AutofillClient: |
41 PersonalDataManager* GetPersonalDataManager() override; | 41 PersonalDataManager* GetPersonalDataManager() override; |
42 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 42 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
43 PrefService* GetPrefs() override; | 43 PrefService* GetPrefs() override; |
44 syncer::SyncService* GetSyncService() override; | 44 syncer::SyncService* GetSyncService() override; |
45 IdentityProvider* GetIdentityProvider() override; | 45 IdentityProvider* GetIdentityProvider() override; |
46 rappor::RapporServiceImpl* GetRapporServiceImpl() override; | 46 rappor::RapporServiceImpl* GetRapporServiceImpl() override; |
| 47 ukm::UkmService* GetUkmService() override; |
47 void ShowAutofillSettings() override; | 48 void ShowAutofillSettings() override; |
48 void ShowUnmaskPrompt(const CreditCard& card, | 49 void ShowUnmaskPrompt(const CreditCard& card, |
49 UnmaskCardReason reason, | 50 UnmaskCardReason reason, |
50 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 51 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
51 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 52 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
52 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 53 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
53 const base::Closure& callback) override; | 54 const base::Closure& callback) override; |
54 void ConfirmSaveCreditCardToCloud( | 55 void ConfirmSaveCreditCardToCloud( |
55 const CreditCard& card, | 56 const CreditCard& card, |
56 std::unique_ptr<base::DictionaryValue> legal_message, | 57 std::unique_ptr<base::DictionaryValue> legal_message, |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 100 |
100 // The identity provider, used for Payments integration. | 101 // The identity provider, used for Payments integration. |
101 std::unique_ptr<IdentityProvider> identity_provider_; | 102 std::unique_ptr<IdentityProvider> identity_provider_; |
102 | 103 |
103 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 104 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
104 }; | 105 }; |
105 | 106 |
106 } // namespace autofill | 107 } // namespace autofill |
107 | 108 |
108 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 109 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
OLD | NEW |