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

Unified Diff: components/autofill/core/browser/autofill_manager.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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index ef345081537bae81fdf59b20849507f7f8137dcb..290126ec108afabacf5c07af8a46de7164f22e5c 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -43,6 +43,8 @@
#define ENABLE_FORM_DEBUG_DUMP
#endif
+class GURL;
+
namespace gfx {
class RectF;
}
@@ -475,6 +477,10 @@ class AutofillManager : public AutofillDownloadManager::Observer,
void DumpAutofillData(bool imported_cc) const;
#endif
+ // Logs the card upload decision UKM.
+ void LogCardUploadDecisionUkm(
+ AutofillMetrics::CardUploadDecisionMetric upload_decision);
+
// Provides driver-level context to the shared code of the component. Must
// outlive this object.
AutofillDriver* driver_;
@@ -545,6 +551,7 @@ class AutofillManager : public AutofillDownloadManager::Observer,
// Collected information about a pending upload request.
payments::PaymentsClient::UploadRequestDetails upload_request_;
bool user_did_accept_upload_prompt_;
+ GURL pending_upload_request_url_;
#ifdef ENABLE_FORM_DEBUG_DUMP
// The last few autofilled forms (key/value pairs) submitted, for debugging.
« no previous file with comments | « components/autofill/core/browser/autofill_experiments.cc ('k') | components/autofill/core/browser/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698