Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: android_webview/native/aw_autofill_client.h

Issue 2740633002: [Autofill] Add upstreaming UKM (Closed)
Patch Set: Fixed comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698