/external/chromium_org/chrome/browser/prefetch/ |
prefetch_field_trial.cc | 15 std::string experiment = base::FieldTrialList::FindFullName("Prefetch"); local 16 if (StartsWithASCII(experiment, "ExperimentYes", false))
|
/external/chromium/chrome/browser/first_run/ |
try_chrome_dialog_view.cc | 132 // Find out what experiment we are conducting. 138 BrowserDistribution::UserExperiment experiment; local 139 if (!dist->GetExperimentDetails(&experiment, version_) || 140 !experiment.heading) { 144 string16 heading = l10n_util::GetStringUTF16(experiment.heading);
|
/external/chromium_org/chrome/browser/ |
about_flags_unittest.cc | 37 const Experiment::Choice kMultiChoices[] = { 43 // The experiments that are set for these tests. The 3rd experiment is not 45 static Experiment kExperiments[] = { 51 Experiment::SINGLE_VALUE, 64 Experiment::SINGLE_VALUE, 77 Experiment::SINGLE_VALUE, 90 Experiment::MULTI_VALUE, 103 Experiment::ENABLE_DISABLE_VALUE, 154 const Experiment& experiment = kExperiments[3] local 381 const Experiment& experiment = kExperiments[3]; local 415 const Experiment& experiment = kExperiments[4]; local [all...] |
about_flags.cc | 62 Experiment::SINGLE_VALUE, \ 68 Experiment::ENABLE_DISABLE_VALUE, enable_switch, enable_value, \ 73 Experiment::MULTI_VALUE, NULL, NULL, NULL, NULL, choices, arraysize(choices) 81 // whether the experiment is available on that platform. 132 const Experiment::Choice kEnableCompositingForFixedPositionChoices[] = { 142 const Experiment::Choice kEnableCompositingForTransitionChoices[] = { 150 const Experiment::Choice kEnableAcceleratedFixedRootBackgroundChoices[] = { 158 const Experiment::Choice kTouchEventsChoices[] = { 168 const Experiment::Choice kTouchOptimizedUIChoices[] = { 178 const Experiment::Choice kNaClDebugMaskChoices[] = 2140 const Experiment& experiment = experiments[i]; local [all...] |
/external/chromium_org/chrome/browser/prerender/ |
prerender_histograms.cc | 82 // Helper macros for experiment-based and origin-based histogram reporting. 92 experiment, HISTOGRAM) \ 93 PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, false, HISTOGRAM, \ 96 #define PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, wash, HISTOGRAM, \ 104 std::string name = GetHistogramName(origin, experiment, wash, \ 106 /* Usually, a browsing session should only have a single experiment. */ \ 107 /* Therefore, when there is a second experiment ID other than the one */ \ 110 /* somehow be an experiment ID if the origin is not GWS, ignore the */ \ 111 /* experiment ID. */ \ 113 if (recording_experiment == kNoExperiment && experiment != kNoExperiment) 151 uint8 experiment = GetQueryStringBasedExperiment(url); local [all...] |
prerender_manager.cc | 102 // control group & the experiment group, so that we can make meaningful 1378 uint8 experiment = GetQueryStringBasedExperiment(url_arg); local [all...] |
/external/chromium_org/components/variations/ |
variations_seed_processor.cc | 47 // Associates the variations params of |experiment|, if present. 49 const Study_Experiment& experiment) { 51 for (int i = 0; i < experiment.param_size(); ++i) { 52 if (experiment.param(i).has_name() && experiment.param(i).has_value()) 53 params[experiment.param(i).name()] = experiment.param(i).value(); 56 AssociateVariationParams(study.name(), experiment.name(), params); 59 // If there are variation ids associated with |experiment|, register the 61 void RegisterVariationIds(const Study_Experiment& experiment, 256 const Study_Experiment& experiment = study.experiment(i); local 290 const Study_Experiment& experiment = study.experiment(i); local [all...] |
variations_seed_processor_unittest.cc | 34 // Adds an experiment to |study| with the specified |name| and |probability|. 37 Study_Experiment* experiment = study->add_experiment(); local 38 experiment->set_name(name); 39 experiment->set_probability_weight(probability); 40 return experiment; 473 EXPECT_EQ(kGroup1Name, processed_studies[0].study()->experiment(0).name()); 687 ASSERT_EQ(kForcingFlag1, study.experiment(1).forcing_flag());
|
/external/chromium/chrome/browser/ |
about_flags.cc | 28 Experiment::SINGLE_VALUE, command_line_switch, switch_value, NULL, 0 32 Experiment::MULTI_VALUE, "", "", choices, arraysize(choices) 46 // The first line of the experiment is the internal name. If you'd like to 64 // To add a new experiment add to the end of kExperiments. There are two 66 // . SINGLE_VALUE: experiment is either on or off. Use the SINGLE_VALUE_TYPE 70 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the 72 // See the documentation of Experiment for details on the fields. 75 const Experiment kExperiments[] = { 300 const Experiment* experiments = kExperiments; 362 std::string NameForChoice(const Experiment& e, int index) 485 const Experiment& experiment = experiments[i]; local [all...] |
/external/chromium_org/chrome/browser/first_run/ |
try_chrome_dialog_view.cc | 170 // Find out what experiment we are conducting. 171 installer::ExperimentDetails experiment; local 173 !installer::CreateExperimentDetails(flavor_, &experiment) || 174 !experiment.heading) { 179 l10n_util::GetStringUTF16(experiment.heading)); 207 !!(experiment.flags & installer::kToastUiDontBugMeAsButton); 218 if (experiment.flags & installer::kToastUiUninstall) { 231 if (experiment.flags & installer::kToastUiMakeDefault) { 262 if (experiment.flags & installer::kToastUiWhyLink) {
|
/external/chromium_org/chrome/browser/metrics/variations/ |
variations_service_unittest.cc | 64 // study called "test", which contains one experiment called "abc" with 72 Study_Experiment* experiment = study->add_experiment(); local 73 experiment->set_name("abc"); 74 experiment->set_probability_weight(100);
|
/external/chromium_org/net/disk_cache/ |
disk_format.h | 83 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeader
|
/external/chromium_org/chrome/installer/util/ |
user_experiment.cc | 39 // The following strings are the possible outcomes of the toast experiment 105 // If handle to experiment result key was given at startup, re-add it. 265 // Use it to write the experiment results. 278 bool CreateExperimentDetails(int flavor, ExperimentDetails* experiment) { 283 // Maximum number of experiment flavors we support. 285 // This struct determines which experiment flavors we show for each locale and 288 // Plugin infobar experiment: 289 // The experiment in 2011 used PIxx codes. 291 // Inactive user toast experiment: 292 // The experiment in Dec 2009 used TGxx and THxx 406 ExperimentDetails experiment; local [all...] |
/external/chromium/net/disk_cache/ |
disk_format.h | 94 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeader
|
/external/chromium_org/net/disk_cache/v3/ |
disk_format_v3.h | 70 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeaderV3
|