| 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 ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 void SetSaveFormData(bool enabled); | 59 void SetSaveFormData(bool enabled); |
| 60 bool GetSaveFormData(); | 60 bool GetSaveFormData(); |
| 61 | 61 |
| 62 // AutofillClient: | 62 // AutofillClient: |
| 63 autofill::PersonalDataManager* GetPersonalDataManager() override; | 63 autofill::PersonalDataManager* GetPersonalDataManager() override; |
| 64 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; | 64 scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; |
| 65 PrefService* GetPrefs() override; | 65 PrefService* GetPrefs() override; |
| 66 syncer::SyncService* GetSyncService() override; | 66 syncer::SyncService* GetSyncService() override; |
| 67 IdentityProvider* GetIdentityProvider() override; | 67 IdentityProvider* GetIdentityProvider() override; |
| 68 rappor::RapporServiceImpl* GetRapporServiceImpl() override; | 68 rappor::RapporServiceImpl* GetRapporServiceImpl() override; |
| 69 ukm::UkmService* GetUkmService() override; |
| 69 void ShowAutofillSettings() override; | 70 void ShowAutofillSettings() override; |
| 70 void ShowUnmaskPrompt( | 71 void ShowUnmaskPrompt( |
| 71 const autofill::CreditCard& card, | 72 const autofill::CreditCard& card, |
| 72 UnmaskCardReason reason, | 73 UnmaskCardReason reason, |
| 73 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; | 74 base::WeakPtr<autofill::CardUnmaskDelegate> delegate) override; |
| 74 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; | 75 void OnUnmaskVerificationResult(PaymentsRpcResult result) override; |
| 75 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card, | 76 void ConfirmSaveCreditCardLocally(const autofill::CreditCard& card, |
| 76 const base::Closure& callback) override; | 77 const base::Closure& callback) override; |
| 77 void ConfirmSaveCreditCardToCloud( | 78 void ConfirmSaveCreditCardToCloud( |
| 78 const autofill::CreditCard& card, | 79 const autofill::CreditCard& card, |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; | 133 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; |
| 133 | 134 |
| 134 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); | 135 DISALLOW_COPY_AND_ASSIGN(AwAutofillClient); |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 bool RegisterAwAutofillClient(JNIEnv* env); | 138 bool RegisterAwAutofillClient(JNIEnv* env); |
| 138 | 139 |
| 139 } // namespace android_webview | 140 } // namespace android_webview |
| 140 | 141 |
| 141 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ | 142 #endif // ANDROID_WEBVIEW_NATIVE_AW_AUTOFILL_CLIENT_H_ |
| OLD | NEW |