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

Unified Diff: base/metrics/field_trial.h

Issue 7204004: Add back a check for improper usage of IsOneTimeRandomizationEnabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to lkgr. 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 | base/metrics/field_trial.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 4e89ccf693806a99e1acdbbfc4c4f6bf292eefba..3b831d8fc4d72c03b972ae3c1227e8e9ab6dc64f 100644
--- a/base/metrics/field_trial.h
+++ b/base/metrics/field_trial.h
@@ -364,10 +364,11 @@ class BASE_API FieldTrialList {
static FieldTrialList* global_; // The singleton of this class.
- // This will tell us if there is an attempt to register a field trial without
- // creating the FieldTrialList. This is not an error, unless a FieldTrialList
- // is created after that.
- static bool register_without_global_;
+ // This will tell us if there is an attempt to register a field
+ // trial or check if one-time randomization is enabled without
+ // creating the FieldTrialList. This is not an error, unless a
+ // FieldTrialList is created after that.
+ static bool used_without_global_;
// A helper value made available to users, that shows when the FieldTrialList
// was initialized. Note that this is a singleton instance, and hence is a
« no previous file with comments | « no previous file | base/metrics/field_trial.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698