/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_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...] |
processed_study.cc | 22 DVLOG(1) << study.name() << " has no default experiment defined."; 44 if (study.experiment(i).name().empty()) { 45 DVLOG(1) << study.name() << " is missing experiment " << i << " name"; 48 if (!experiment_names.insert(study.experiment(i).name()).second) { 49 DVLOG(1) << study.name() << " has a repeated experiment name " 50 << study.experiment(i).name(); 54 if (!study.experiment(i).has_forcing_flag()) 55 divisor += study.experiment(i).probability_weight(); 56 if (study.experiment(i).name() == default_group_name) 61 DVLOG(1) << study.name() << " is missing default experiment in its [all...] |
/external/chromium_org/chrome/browser/resources/ |
flags.css | 94 #experiment-reset-all { 98 html[dir=rtl] #experiment-reset-all { 120 .experiment-unsupported > td, 121 .experiment-disabled > td { 126 .experiment-unsupported .experiment-name, 127 .experiment-disabled .experiment-name { 131 .experiment { 135 .experiment td [all...] |
flags.js | 23 var elements = document.getElementsByClassName('experiment-select'); 31 elements = document.getElementsByClassName('experiment-disable-link'); 39 elements = document.getElementsByClassName('experiment-enable-link'); 47 elements = document.getElementsByClassName('experiment-restart-button'); 52 $('experiment-reset-all').onclick = resetAllFlags; 110 * internal_name: 'Experiment ID string', 111 * name: 'Experiment Name', 113 * // enabled is only set if the experiment is single valued. 115 * // choices is only set if the experiment has multiple values. 118 * internal_name: 'Experiment ID string' [all...] |
/external/chromium/chrome/browser/net/ |
connection_tester.h | 77 // The "Experiment" structure describes an individual test to run. 78 struct Experiment { 79 Experiment(const GURL& url, 97 typedef std::vector<Experiment> ExperimentList; 111 // Called when an individual experiment is about to be started. 113 const Experiment& experiment) = 0; 115 // Called when an individual experiment has completed. 116 // |experiment| - the experiment that has completed [all...] |
connection_tester.cc | 38 // An instance of ExperimentURLRequestContext is created for each experiment 40 // to the specified "experiment". 47 int Init(const ConnectionTester::Experiment& experiment) { 50 // Create a custom HostResolver for this experiment. 52 rv = CreateHostResolver(experiment.host_resolver_experiment, 58 // Create a custom ProxyService for this this experiment. 60 rv = CreateProxyService(experiment.proxy_settings_experiment, 67 // experiment being run. 104 // Creates a host resolver for |experiment|. On success returns net::OK an [all...] |
connection_tester_unittest.cc | 42 const ConnectionTester::Experiment& experiment) { 47 const ConnectionTester::Experiment& experiment,
|
/external/chromium_org/chrome/browser/net/ |
connection_tester.h | 77 // The "Experiment" structure describes an individual test to run. 78 struct Experiment { 79 Experiment(const GURL& url, 97 typedef std::vector<Experiment> ExperimentList; 109 // Called when an individual experiment is about to be started. 111 const Experiment& experiment) = 0; 113 // Called when an individual experiment has completed. 114 // |experiment| - the experiment that has completed [all...] |
connection_tester.cc | 48 // An instance of ExperimentURLRequestContext is created for each experiment 50 // to the specified "experiment". 63 // Creates a proxy config service for |experiment|. On success returns net::OK 67 ConnectionTester::ProxySettingsExperiment experiment, 70 switch (experiment) { 89 int Init(const ConnectionTester::Experiment& experiment, 94 // Create a custom HostResolver for this experiment. 96 rv = CreateHostResolver(experiment.host_resolver_experiment, 102 // Create a custom ProxyService for this this experiment [all...] |
connection_tester_unittest.cc | 46 const ConnectionTester::Experiment& experiment) OVERRIDE { 51 const ConnectionTester::Experiment& experiment, 193 // Don't run the message loop at all. Otherwise the experiment's request may 194 // complete and post a task to run the next experiment before we quit the
|
/external/chromium_org/chrome/installer/util/ |
user_experiment.h | 36 string16 prefix; // The experiment code prefix for this experiment, 38 int flavor; // The flavor index for this experiment. 39 int heading; // The heading resource ID to use for this experiment. 43 // experiment but does not participate. 46 // Creates the experiment details for a given language-brand combo. 47 // If |flavor| is -1, then a flavor will be selected at random. |experiment| 48 // is the struct you want to write the experiment information to. 49 // Returns false if no experiment details could be gathered. 50 bool CreateExperimentDetails(int flavor, ExperimentDetails* experiment); [all...] |
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/chrome/browser/resources/net_internals/ |
testview.js | 48 thead.innerHTML = '<tr><th>Result</th><th>Experiment</th>' + 57 TestView.prototype.onStartedConnectionTestExperiment = function(experiment) { 81 addTextNode(experimentCell, 'Fetch ' + experiment.url); 83 if (experiment.proxy_settings_experiment || 84 experiment.host_resolver_experiment) { 87 if (experiment.proxy_settings_experiment) { 89 addTextNode(li, experiment.proxy_settings_experiment); 92 if (experiment.host_resolver_experiment) { 94 addTextNode(li, experiment.host_resolver_experiment); 103 experiment, result) [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...] |
/external/libvpx/libvpx/tools/ |
all_builds.py | 28 experiment = line[4:] 29 if experiment not in currently_broken: 30 experiments.append(experiment) 50 # Shard experiment list
|
/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/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/net/disk_cache/v3/ |
backend_worker.cc | 77 // Sets group for the current experiment. Returns false if the files should be 80 if (header->experiment == disk_cache::EXPERIMENT_OLD_FILE1 || 81 header->experiment == disk_cache::EXPERIMENT_OLD_FILE2) { 89 header->experiment = disk_cache::EXPERIMENT_SIMPLE_CONTROL; 91 } else if (header->experiment != disk_cache::EXPERIMENT_SIMPLE_CONTROL) { 96 header->experiment = disk_cache::NO_EXPERIMENT; 162 if (data_->header.experiment != NO_EXPERIMENT && 164 // No experiment for other caches.
|
/external/chromium/net/disk_cache/ |
histogram_macros.h | 18 // whenever the name changes (the experiment group changes), the histrogram 104 #define CACHE_UMA(type, name, experiment, sample) {\ 105 const std::string my_name = BACKEND_OBJ->HistogramName(name, experiment);\
|
/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/net/disk_cache/ |
histogram_macros.h | 17 // whenever the name changes (the experiment group changes), the histrogram 103 #define CACHE_UMA(type, name, experiment, sample) {\ 104 const std::string my_name = BACKEND_OBJ->HistogramName(name, experiment);\
|
disk_format.h | 83 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeader
|
/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);
|