/external/chromium_org/chrome/browser/prefetch/ |
H A D | prefetch_field_trial.cc | 15 std::string experiment = base::FieldTrialList::FindFullName("Prefetch"); local 16 if (StartsWithASCII(experiment, "ExperimentYes", false))
|
/external/chromium/chrome/browser/net/ |
H A D | connection_tester_unittest.cc | 42 const ConnectionTester::Experiment& experiment) { 47 const ConnectionTester::Experiment& experiment, 41 OnStartConnectionTestExperiment( const ConnectionTester::Experiment& experiment) argument 46 OnCompletedConnectionTestExperiment( const ConnectionTester::Experiment& experiment, int result) argument
|
H A D | 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) { argument 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 and 108 ConnectionTester::HostResolverExperiment experiment, 107 CreateHostResolver( ConnectionTester::HostResolverExperiment experiment, net::HostResolver** host_resolver) argument 142 CreateProxyConfigService( ConnectionTester::ProxySettingsExperiment experiment, scoped_ptr<net::ProxyConfigService>* config_service) argument 171 CreateProxyService( ConnectionTester::ProxySettingsExperiment experiment, scoped_refptr<net::ProxyService>* proxy_service) argument 338 Run(const Experiment& experiment) argument 379 ProxySettingsExperimentDescription( ProxySettingsExperiment experiment) argument 398 HostResolverExperimentDescription( HostResolverExperiment experiment) argument [all...] |
/external/chromium_org/chrome/browser/ |
H A D | about_flags_unittest.cc | 43 // The experiments that are set for these tests. The 3rd experiment is not 154 const Experiment& experiment = kExperiments[3]; local 155 ASSERT_EQ(kFlags4, experiment.internal_name); 158 SetExperimentEnabled(&flags_storage_, experiment.NameForChoice(2), true); 163 SetExperimentEnabled(&flags_storage_, experiment.NameForChoice(0), true); 186 // Remove one experiment, check the other's still around. 381 const Experiment& experiment = kExperiments[3]; local 382 ASSERT_EQ(kFlags4, experiment.internal_name); 384 // Initially, the first "deactivated" option of the multi experiment should 394 SetExperimentEnabled(&flags_storage_, experiment 415 const Experiment& experiment = kExperiments[4]; local [all...] |
H A D | about_flags.cc | 81 // whether the experiment is available on that platform. 356 // The first line of the experiment is the internal name. If you'd like to 377 // To add a new experiment add to the end of kExperiments. There are two 379 // . SINGLE_VALUE: experiment is either on or off. Use the SINGLE_VALUE_TYPE 383 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the 1888 "enable-zero-suggest-experiment", 1958 // Adds the internal names for the specified experiment to |names|. 1970 // Confirms that an experiment is valid, used in a DCHECK in 2026 bool SkipConditionalExperiment(const Experiment& experiment) { argument 2027 if (experiment 2064 CreateChoiceData(const Experiment& experiment, const std::set<std::string>& enabled_experiments) argument 2140 const Experiment& experiment = experiments[i]; local [all...] |
/external/chromium/chrome/browser/first_run/ |
H A D | 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/first_run/ |
H A D | 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/ |
H A D | 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/chrome/browser/prerender/ |
H A D | 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 ! 151 uint8 experiment = GetQueryStringBasedExperiment(url); local [all...] |
H A D | prerender_manager.cc | 102 // control group & the experiment group, so that we can make meaningful 1378 uint8 experiment = GetQueryStringBasedExperiment(url_arg); local 1379 if (IsControlGroup(experiment) && 1390 RecordFinalStatus(origin, experiment, FINAL_STATUS_DUPLICATE); 1408 RecordFinalStatus(origin, experiment, FINAL_STATUS_TOO_MANY_PROCESSES); 1418 RecordFinalStatus(origin, experiment, FINAL_STATUS_RATE_LIMIT_EXCEEDED); 1423 url, referrer, origin, experiment); 1449 DCHECK(IsControlGroup(experiment) || 1467 experiment));
|
/external/chromium_org/components/variations/ |
H A D | 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, argument 48 RegisterExperimentParams(const Study& study, const Study_Experiment& experiment) argument 256 const Study_Experiment& experiment = study.experiment(i); local 290 const Study_Experiment& experiment = study.experiment(i); local [all...] |
H A D | 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_org/net/disk_cache/ |
H A D | disk_format.h | 83 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeader
|
/external/chromium/chrome/browser/ |
H A D | about_flags.cc | 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 369 // Adds the internal names for the specified experiment to |names|. 380 // Confirms that an experiment is valid, used in a DCHECK in 453 // Returns the Value representing the choice data in the specified experiment. 454 Value* CreateChoiceData(const Experiment& experiment, argument 456 DCHECK_EQ(Experiment::MULTI_VALUE, experiment.type); 458 for (int i = 0; i < experiment 485 const Experiment& experiment = experiments[i]; local [all...] |
/external/chromium_org/chrome/browser/net/ |
H A D | 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, argument 94 // Create a custom HostResolver for this experiment. 96 rv = CreateHostResolver(experiment.host_resolver_experiment, 102 // Create a custom ProxyService for this this experiment. 104 rv = CreateProxyService(experiment 66 CreateProxyConfigService( ConnectionTester::ProxySettingsExperiment experiment, scoped_ptr<net::ProxyConfigService>* config_service, base::Callback<void(int)> callback) argument 144 CreateHostResolver( ConnectionTester::HostResolverExperiment experiment, scoped_ptr<net::HostResolver>* host_resolver) argument 179 CreateProxyService( ConnectionTester::ProxySettingsExperiment experiment, scoped_ptr<net::ProxyConfigService>* proxy_config_service, scoped_ptr<net::ProxyService>* experiment_proxy_service) argument 400 ProxyConfigServiceCreated( const Experiment& experiment, scoped_ptr<net::ProxyConfigService>* proxy_config_service, int status) argument 418 Run(const Experiment& experiment) argument 462 ProxySettingsExperimentDescription( ProxySettingsExperiment experiment) argument 481 HostResolverExperimentDescription( HostResolverExperiment experiment) argument [all...] |
/external/chromium_org/chrome/installer/util/ |
H A D | 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) { argument 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 i 406 ExperimentDetails experiment; local [all...] |
/external/chromium/net/disk_cache/ |
H A D | disk_format.h | 94 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeader
|
/external/chromium_org/net/disk_cache/v3/ |
H A D | disk_format_v3.h | 70 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeaderV3
|
/external/chromium/chrome/browser/ui/webui/ |
H A D | net_internals_ui.cc | 109 Value* ExperimentToValue(const ConnectionTester::Experiment& experiment) { argument 112 if (experiment.url.is_valid()) 113 dict->SetString("url", experiment.url.spec()); 117 experiment.proxy_settings_experiment)); 120 experiment.host_resolver_experiment)); 307 const ConnectionTester::Experiment& experiment); 309 const ConnectionTester::Experiment& experiment, 1380 const ConnectionTester::Experiment& experiment) { 1383 ExperimentToValue(experiment)); 1388 const ConnectionTester::Experiment& experiment, 1379 OnStartConnectionTestExperiment( const ConnectionTester::Experiment& experiment) argument 1387 OnCompletedConnectionTestExperiment( const ConnectionTester::Experiment& experiment, int result) argument [all...] |
/external/chromium_org/chrome/browser/ui/webui/net_internals/ |
H A D | net_internals_ui.cc | 186 Value* ExperimentToValue(const ConnectionTester::Experiment& experiment) { argument 189 if (experiment.url.is_valid()) 190 dict->SetString("url", experiment.url.spec()); 194 experiment.proxy_settings_experiment)); 197 experiment.host_resolver_experiment)); 545 const ConnectionTester::Experiment& experiment) OVERRIDE; 547 const ConnectionTester::Experiment& experiment, 1674 const ConnectionTester::Experiment& experiment) { 1677 ExperimentToValue(experiment)); 1682 const ConnectionTester::Experiment& experiment, 1673 OnStartConnectionTestExperiment( const ConnectionTester::Experiment& experiment) argument 1681 OnCompletedConnectionTestExperiment( const ConnectionTester::Experiment& experiment, int result) argument [all...] |