Lines Matching full:trial
17 // the client for a field trial or not, for every run of the program on a
35 // // Note: This field trial will run in Chrome instances compiled through
37 // scoped_refptr<base::FieldTrial> trial(
43 // trial->AppendGroup("HighMem", 20); // 2% in HighMem group.
45 // trial->AppendGroup("LowMem", 20); // 2% in LowMem group.
47 // if (trial->group() == high_mem_group)
49 // else if (trial->group() == low_mem_group)
74 typedef int Probability; // Probability type for being selected in a trial.
76 // Specifies the persistence of the field trial group choice.
94 // the specified field trial. If |randomization_seed| is not 0, it will be
102 // A pair representing a Field Trial and its selected group.
111 // assignment (and hence is not yet participating in the trial).
114 // Disables this trial, meaning it always determines the default group
118 // trial.
123 // Establish the name and probability of the next group in this trial.
136 // other groups to the trial.
143 // Set the field trial as forced, meaning that it was setup earlier than
144 // the hard coded registration of the field trial to override it.
145 // This allows the code that was hard coded to register the field trial to
146 // still succeed even though the field trial has already been registered.
158 // trial state in the running process. Group assignment will be done based on
161 // Note: Using this function will not register the field trial globally in the
201 // Creates a field trial with the specified parameters. Group assignment will
212 // Marks this trial as having been registered with the FieldTrialList. Must be
219 // Ensures that a group is chosen, if it hasn't yet been. The field trial
224 // Returns the trial name and selected group name for this field trial via
226 // been chosen and has been externally observed via |group()| and the trial
235 // The name of the field trial, as can be found via the FieldTrialList.
264 // When enable_field_trial_ is false, field trial reverts to the 'default'
275 // Whether this trial is registered with the global FieldTrialList and thus
287 // Class with a list of all active field trials. A trial is active if it has
304 // Year that is guaranteed to not be expired when instantiating a field trial
333 // and can be used to find the trial (only one trial can be present for each
344 // then the field trial reverts to the 'default' group.
359 // used on one-time randomized field trials (instead of a hash of the trial
376 // The Find() method can be used to test to see if a named Trial was already
380 // Returns the group number chosen for the named trial, or
381 // FieldTrial::kNotFinalized if the trial does not exist.
384 // Returns the group name chosen for the named trial, or the
385 // empty string if the trial does not exist.
388 // Returns true if the named trial has been registered.
410 // for each trial, force them to have the same group string. This is commonly
414 // trials are marked as "used" for the purposes of active trial reporting if
428 // Add an observer to be notified when a field trial is irrevocably committed
454 // Register() stores a pointer to the given trial in a global map.
455 // This method also AddRef's the indicated trial.
457 static void Register(FieldTrial* trial);
462 // trial or check if one-time randomization is enabled without