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

Unified Diff: base/metrics/field_trial.h

Issue 1291073005: Update full-form autofill config to always query the field trial state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-flow comment text Created 5 years, 4 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 | components/autofill/ios/browser/autofill_field_trial_ios.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/field_trial.h
diff --git a/base/metrics/field_trial.h b/base/metrics/field_trial.h
index 26257ab4a890b70c257a23e5dfb854c0bf2c78d7..93521288b7af4386a2a370b8b8e8658c852a6c20 100644
--- a/base/metrics/field_trial.h
+++ b/base/metrics/field_trial.h
@@ -404,8 +404,10 @@ class BASE_EXPORT FieldTrialList {
// FieldTrial::kNotFinalized if the trial does not exist.
static int FindValue(const std::string& name);
- // Returns the group name chosen for the named trial, or the
- // empty string if the trial does not exist.
+ // Returns the group name chosen for the named trial, or the empty string if
+ // the trial does not exist. The first call of this function on a given field
+ // trial will mark it as active, so that its state will be reported with usage
+ // metrics, crashes, etc.
static std::string FindFullName(const std::string& name);
// Returns true if the named trial has been registered.
« no previous file with comments | « no previous file | components/autofill/ios/browser/autofill_field_trial_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698