| 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 25 matching lines...) Expand all Loading... |
| 36 public zoom::ZoomObserver { | 36 public zoom::ZoomObserver { |
| 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::RapporService* GetRapporService() override; | 46 rappor::RapporServiceImpl* GetRapporServiceImpl() override; |
| 47 void ShowAutofillSettings() override; | 47 void ShowAutofillSettings() override; |
| 48 void ShowUnmaskPrompt(const CreditCard& card, | 48 void ShowUnmaskPrompt(const CreditCard& card, |
| 49 UnmaskCardReason reason, | 49 UnmaskCardReason reason, |
| 50 base::WeakPtr<CardUnmaskDelegate> delegate) override; | 50 base::WeakPtr<CardUnmaskDelegate> delegate) override; |
| 51 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 51 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
| 52 void ConfirmSaveCreditCardLocally(const CreditCard& card, | 52 void ConfirmSaveCreditCardLocally(const CreditCard& card, |
| 53 const base::Closure& callback) override; | 53 const base::Closure& callback) override; |
| 54 void ConfirmSaveCreditCardToCloud( | 54 void ConfirmSaveCreditCardToCloud( |
| 55 const CreditCard& card, | 55 const CreditCard& card, |
| 56 std::unique_ptr<base::DictionaryValue> legal_message, | 56 std::unique_ptr<base::DictionaryValue> legal_message, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 // The identity provider, used for Payments integration. | 99 // The identity provider, used for Payments integration. |
| 100 std::unique_ptr<IdentityProvider> identity_provider_; | 100 std::unique_ptr<IdentityProvider> identity_provider_; |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); | 102 DISALLOW_COPY_AND_ASSIGN(ChromeAutofillClient); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace autofill | 105 } // namespace autofill |
| 106 | 106 |
| 107 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ | 107 #endif // CHROME_BROWSER_UI_AUTOFILL_CHROME_AUTOFILL_CLIENT_H_ |
| OLD | NEW |