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

Unified Diff: chrome/browser/autofill/autofill_metrics.cc

Issue 7003102: Add new Autofill experiment to experiment histogram (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_metrics.cc
diff --git a/chrome/browser/autofill/autofill_metrics.cc b/chrome/browser/autofill/autofill_metrics.cc
index 73a927418502a2ef8071818fbb69f60293e50762..cfa0de4f13de41c07ec241f7eb326988fd218502 100644
--- a/chrome/browser/autofill/autofill_metrics.cc
+++ b/chrome/browser/autofill/autofill_metrics.cc
@@ -22,6 +22,7 @@ enum ServerExperiment {
ACCEPTANCE_RATIO_05_WINNER_LEAD_RATIO_25,
ACCEPTANCE_RATIO_05_WINNER_LEAD_RATIO_15_MIN_FORM_SCORE_5,
TOOLBAR_DATA_ONLY,
+ ACCEPTANCE_RATIO_04_WINNER_LEAD_RATIO_3_MIN_FORM_SCORE_4,
NUM_SERVER_EXPERIMENTS
};
@@ -289,6 +290,8 @@ void AutofillMetrics::LogServerExperimentId(
metric = ACCEPTANCE_RATIO_05_WINNER_LEAD_RATIO_15_MIN_FORM_SCORE_5;
else if (experiment_id == "tbar1")
metric = TOOLBAR_DATA_ONLY;
+ else if (experiment_id == "ar04wr3fs4")
+ metric = ACCEPTANCE_RATIO_04_WINNER_LEAD_RATIO_3_MIN_FORM_SCORE_4;
DCHECK(metric < NUM_SERVER_EXPERIMENTS);
UMA_HISTOGRAM_ENUMERATION("Autofill.ServerExperimentId", metric,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698