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