Index: components/autofill/browser/autofill_metrics.h |
diff --git a/components/autofill/browser/autofill_metrics.h b/components/autofill/browser/autofill_metrics.h |
index 2f9abd03507ba1ea2b0c3ecb654929ebda093b35..ce11316267bf07859c5c70f25b56addbad11ab70 100644 |
--- a/components/autofill/browser/autofill_metrics.h |
+++ b/components/autofill/browser/autofill_metrics.h |
@@ -350,6 +350,14 @@ class AutofillMetrics { |
NUM_WALLET_REQUIRED_ACTIONS |
}; |
+ // The success or failure of downloading Autocheckout whitelist file. |
+ enum WhitelistDownloadStatus { |
ahutter
2013/04/16 17:56:54
Probably want to throw Autocheckout on the front o
benquan
2013/04/17 01:51:30
Done.
|
+ // The download was failed. |
ahutter
2013/04/16 17:56:54
The download failed.
Ilya Sherman
2013/04/17 00:18:01
nit: This comment is almost verbatim identical to
benquan
2013/04/17 01:51:30
Done.
benquan
2013/04/17 05:48:18
Done.
|
+ WHITELIST_DOWNLOAD_FAILED, |
ahutter
2013/04/16 17:56:54
Ditto about AUTOCHECKOUT
benquan
2013/04/17 01:51:30
Done.
|
+ // The download was succeeded. |
ahutter
2013/04/16 17:56:54
The download was successful.
benquan
2013/04/17 01:51:30
Done.
|
+ WHITELIST_DOWNLOAD_SUCCEEDED, |
ahutter
2013/04/16 17:56:54
ditto about AUTOCHECKOUT.
benquan
2013/04/17 01:51:30
Done.
|
+ }; |
+ |
AutofillMetrics(); |
virtual ~AutofillMetrics(); |
@@ -435,6 +443,9 @@ class AutofillMetrics { |
const base::TimeDelta& duration, |
AutocheckoutCompletionStatus status) const; |
+ virtual void LogAutocheckoutWhitelistDownloadDuration( |
ahutter
2013/04/16 17:56:54
Docs.
benquan
2013/04/17 01:51:30
Done.
|
+ const base::TimeDelta& duration, WhitelistDownloadStatus status) const; |
Ilya Sherman
2013/04/17 00:18:01
nit: One parameter per line, please, if they have
benquan
2013/04/17 01:51:30
Done.
|
+ |
// This should be called when a form that has been Autofilled is submitted. |
// |duration| should be the time elapsed between form load and submission. |
virtual void LogFormFillDurationFromLoadWithAutofill( |