Searched refs:experiment (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/prefetch/
H A Dprefetch_field_trial.cc16 std::string experiment = base::FieldTrialList::FindFullName("Prefetch"); local
17 return StartsWithASCII(experiment, "ExperimentDisable", false);
/external/chromium_org/components/variations/
H A Dvariations_seed_processor.cc21 // Associates the variations params of |experiment|, if present.
23 const Study_Experiment& experiment) {
25 for (int i = 0; i < experiment.param_size(); ++i) {
26 if (experiment.param(i).has_name() && experiment.param(i).has_value())
27 params[experiment.param(i).name()] = experiment.param(i).value();
30 AssociateVariationParams(study.name(), experiment.name(), params);
33 // If there are variation ids associated with |experiment|, register the
35 void RegisterVariationIds(const Study_Experiment& experiment, argument
22 RegisterExperimentParams(const Study& study, const Study_Experiment& experiment) argument
64 ApplyUIStringOverrides( const Study_Experiment& experiment, const VariationsSeedProcessor::UIStringOverrideCallback& callback) argument
108 const Study_Experiment& experiment = study.experiment(i); local
157 const Study_Experiment& experiment = study.experiment(i); local
[all...]
H A Dvariations_seed_simulator_unittest.cc59 // Adds an experiment to |study| with the specified |experiment_name| and
60 // |probability| values and sets it as the study's default experiment.
64 Study_Experiment* experiment = study->add_experiment(); local
65 experiment->set_name(experiment_name);
66 experiment->set_probability_weight(probability);
68 return experiment;
71 // Add an experiment param with |param_name| and |param_value| to |experiment|.
74 Study_Experiment* experiment) {
75 Study_Experiment_Param* param = experiment
72 AddExperimentParam(const std::string& param_name, const std::string& param_value, Study_Experiment* experiment) argument
150 Study_Experiment* experiment = AddExperiment("B", 100, &study); local
168 Study_Experiment* experiment = AddExperiment("C", 100, &study); local
188 Study_Experiment* experiment = AddExperiment("B", 1, &study); local
209 Study_Experiment* experiment = AddExperiment("B", 1, &study); local
242 Study_Experiment* experiment = AddExperiment("B", 0, &study); local
263 Study_Experiment* experiment = AddExperiment("B", 1, &study); local
290 Study_Experiment* experiment = AddExperiment("B", 100, &study); local
316 Study_Experiment* experiment = AddExperiment("B", 100, &study); local
343 Study_Experiment* experiment = AddExperiment("B", 100, &study); local
363 Study_Experiment* experiment = AddExperiment("B", 100, &study); local
[all...]
H A Dvariations_seed_simulator.cc29 // Returns the experiment group that will be selected. Mirrors logic in
46 const Study_Experiment& experiment = study.experiment(i); local
50 if (!experiment.has_forcing_flag() &&
51 experiment.name() != study.default_experiment_name()) {
52 trial->AppendGroup(experiment.name(), experiment.probability_weight());
60 // Finds an experiment in |study| with name |experiment_name| and returns it,
65 if (study.experiment(i).name() == experiment_name)
66 return &study.experiment(
74 VariationParamsAreEqual(const Study& study, const Study_Experiment& experiment) argument
208 const Study_Experiment* experiment = FindExperiment(study, selected_group); local
229 const Study_Experiment* experiment = FindExperiment(study, selected_group); local
[all...]
H A Dprocessed_study.cc23 DVLOG(1) << study.name() << " has no default experiment defined.";
45 if (study.experiment(i).name().empty()) {
46 DVLOG(1) << study.name() << " is missing experiment " << i << " name";
49 if (!experiment_names.insert(study.experiment(i).name()).second) {
50 DVLOG(1) << study.name() << " has a repeated experiment name "
51 << study.experiment(i).name();
55 if (!study.experiment(i).has_forcing_flag())
56 divisor += study.experiment(i).probability_weight();
57 if (study.experiment(i).name() == default_group_name)
62 DVLOG(1) << study.name() << " is missing default experiment i
[all...]
H A Dvariations_seed_processor_unittest.cc37 // Adds an experiment to |study| with the specified |name| and |probability|.
40 Study_Experiment* experiment = study->add_experiment(); local
41 experiment->set_name(name);
42 experiment->set_probability_weight(probability);
43 return experiment;
298 ASSERT_EQ(kForcingFlag1, study.experiment(1).forcing_flag());
389 ASSERT_EQ(kForcingFlag1, study.experiment(1).forcing_flag());
468 ASSERT_EQ(kNonFlagGroupName, study.experiment(0).name());
479 // The previously forced experiment should still hold.
483 // Check that params and experiment id
[all...]
/external/chromium_org/chrome/browser/resources/
H A Dflags.css94 #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 t
[all...]
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dtest_view.js85 onStartedConnectionTestExperiment: function(experiment) {
109 addTextNode(experimentCell, 'Fetch ' + experiment.url);
111 if (experiment.proxy_settings_experiment ||
112 experiment.host_resolver_experiment) {
115 if (experiment.proxy_settings_experiment) {
117 addTextNode(li, experiment.proxy_settings_experiment);
120 if (experiment.host_resolver_experiment) {
122 addTextNode(li, experiment.host_resolver_experiment);
130 onCompletedConnectionTestExperiment: function(experiment, result) {
/external/chromium_org/chrome/browser/net/
H A Dconnection_tester.h109 // 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.
115 // |result| - the net error that the experiment completed with
118 const Experiment& experiment,
142 // Returns a text string explaining what |experiment| is testing.
144 ProxySettingsExperiment experiment);
146 HostResolverExperiment experiment);
[all...]
H A Dconnection_tester.cc49 // An instance of ExperimentURLRequestContext is created for each experiment
51 // to the specified "experiment".
66 // Creates a proxy config service for |experiment|. On success returns net::OK
70 ConnectionTester::ProxySettingsExperiment experiment,
73 switch (experiment) {
92 int Init(const ConnectionTester::Experiment& experiment, argument
97 // Create a custom HostResolver for this experiment.
99 rv = CreateHostResolver(experiment.host_resolver_experiment,
105 // Create a custom ProxyService for this this experiment.
107 rv = CreateProxyService(experiment
69 CreateProxyConfigService( ConnectionTester::ProxySettingsExperiment experiment, scoped_ptr<net::ProxyConfigService>* config_service, base::Callback<void(int)> callback) argument
151 CreateHostResolver( ConnectionTester::HostResolverExperiment experiment, scoped_ptr<net::HostResolver>* host_resolver) argument
186 CreateProxyService( ConnectionTester::ProxySettingsExperiment experiment, scoped_ptr<net::ProxyConfigService>* proxy_config_service, scoped_ptr<net::ProxyService>* experiment_proxy_service) argument
403 ProxyConfigServiceCreated( const Experiment& experiment, scoped_ptr<net::ProxyConfigService>* proxy_config_service, int status) argument
421 Run(const Experiment& experiment) argument
465 ProxySettingsExperimentDescription( ProxySettingsExperiment experiment) argument
484 HostResolverExperimentDescription( HostResolverExperiment experiment) argument
[all...]
H A Dconnection_tester_unittest.cc48 const ConnectionTester::Experiment& experiment) OVERRIDE {
53 const ConnectionTester::Experiment& experiment,
151 // Don't run the message loop at all. Otherwise the experiment's request may
152 // complete and post a task to run the next experiment before we quit the
/external/chromium_org/chrome/browser/prerender/
H A Dprerender_histograms.cc84 // Helper macros for experiment-based and origin-based histogram reporting.
94 experiment, HISTOGRAM) \
95 PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, false, HISTOGRAM, \
98 #define PREFIXED_HISTOGRAM_INTERNAL(origin, experiment, wash, HISTOGRAM, \
106 std::string name = GetHistogramName(origin, experiment, wash, \
108 /* Usually, a browsing session should only have a single experiment. */ \
109 /* Therefore, when there is a second experiment ID other than the one */ \
112 /* somehow be an experiment ID if the origin is not GWS, ignore the */ \
113 /* experiment ID. */ \
115 if (recording_experiment == kNoExperiment && experiment !
155 uint8 experiment = GetQueryStringBasedExperiment(url); local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/tools/
H A Dall_builds.py28 experiment = line[4:]
29 if experiment not in currently_broken:
30 experiments.append(experiment)
50 # Shard experiment list
/external/libvpx/libvpx/tools/
H A Dall_builds.py28 experiment = line[4:]
29 if experiment not in currently_broken:
30 experiments.append(experiment)
50 # Shard experiment list
/external/chromium_org/chrome/installer/util/
H A Duser_experiment.h35 base::string16 prefix; // The experiment code prefix for this experiment,
37 int flavor; // The flavor index for this experiment.
38 int heading; // The heading resource ID to use for this experiment.
42 // experiment but does not participate.
45 // Creates the experiment details for a given language-brand combo.
46 // If |flavor| is -1, then a flavor will be selected at random. |experiment|
47 // is the struct you want to write the experiment information to.
48 // Returns false if no experiment details could be gathered.
49 bool CreateExperimentDetails(int flavor, ExperimentDetails* experiment);
[all...]
H A Duser_experiment.cc41 // The following strings are the possible outcomes of the toast experiment
111 // If handle to experiment result key was given at startup, re-add it.
271 // Use it to write the experiment results.
284 bool CreateExperimentDetails(int flavor, ExperimentDetails* experiment) { argument
289 // Maximum number of experiment flavors we support.
291 // This struct determines which experiment flavors we show for each locale and
294 // Plugin infobar experiment:
295 // The experiment in 2011 used PIxx codes.
297 // Inactive user toast experiment:
298 // The experiment i
412 ExperimentDetails experiment; local
[all...]
/external/chromium_org/components/gcm_driver/
H A Dgcm_channel_status_request.cc117 response_proto.experiment(0).has_gcm_channel() &&
118 response_proto.experiment(0).gcm_channel().has_enabled()) {
119 enabled = response_proto.experiment(0).gcm_channel().enabled();
/external/chromium_org/net/disk_cache/blockfile/
H A Dhistogram_macros.h90 #define CACHE_UMA(type, name, experiment, sample) {\
92 CACHE_UMA_BACKEND_IMPL_OBJ->HistogramName(name, experiment);\
H A Dbackend_worker_v3.cc66 // Sets group for the current experiment. Returns false if the files should be
69 if (header->experiment == disk_cache::EXPERIMENT_OLD_FILE1 ||
70 header->experiment == disk_cache::EXPERIMENT_OLD_FILE2) {
78 header->experiment = disk_cache::EXPERIMENT_SIMPLE_CONTROL;
80 } else if (header->experiment != disk_cache::EXPERIMENT_SIMPLE_CONTROL) {
85 header->experiment = disk_cache::NO_EXPERIMENT;
135 if (data_->header.experiment != NO_EXPERIMENT &&
137 // No experiment for other caches.
H A Ddisk_format.h83 int32 experiment; // Id of an ongoing test. member in struct:disk_cache::IndexHeader
/external/chromium_org/chrome/browser/
H A Dabout_flags_unittest.cc192 const about_flags::Experiment& experiment = experiments[i]; local
193 if (experiment.type == about_flags::Experiment::SINGLE_VALUE) {
194 result.insert(experiment.command_line_switch);
195 } else if (experiment.type == about_flags::Experiment::MULTI_VALUE) {
196 for (int j = 0; j < experiment.num_choices; ++j) {
197 result.insert(experiment.choices[j].command_line_switch);
200 DCHECK_EQ(experiment.type, about_flags::Experiment::ENABLE_DISABLE_VALUE);
201 result.insert(experiment.command_line_switch);
202 result.insert(experiment.disable_command_line_switch);
218 // The experiments that are set for these tests. The 3rd experiment i
329 const Experiment& experiment = kExperiments[3]; local
589 const Experiment& experiment = kExperiments[3]; local
623 const Experiment& experiment = kExperiments[4]; local
[all...]
H A Dabout_flags.cc96 // whether the experiment is available on that platform.
482 // The first line of the experiment is the internal name. If you'd like to
505 // To add a new experiment add to the end of kExperiments. There are two
507 // . SINGLE_VALUE: experiment is either on or off. Use the SINGLE_VALUE_TYPE
511 // this type of experiment use the macro MULTI_VALUE_TYPE supplying it the
1590 "enhanced-bookmarks-experiment",
1614 "enable-zero-suggest-experiment",
1976 // Adds the internal names for the specified experiment to |names|.
1988 // Confirms that an experiment is valid, used in a DCHECK in
2042 bool SkipConditionalExperiment(const Experiment& experiment, argument
2106 CreateChoiceData( const Experiment& experiment, const std::set<std::string>& enabled_experiments) argument
2197 const Experiment& experiment = experiments[i]; local
[all...]
/external/chromium_org/chrome/browser/first_run/
H A Dtry_chrome_dialog_view.cc167 // Find out what experiment we are conducting.
168 installer::ExperimentDetails experiment; local
170 !installer::CreateExperimentDetails(flavor_, &experiment) ||
171 !experiment.heading) {
176 l10n_util::GetStringUTF16(experiment.heading),
204 !!(experiment.flags & installer::kToastUiDontBugMeAsButton);
215 if (experiment.flags & installer::kToastUiUninstall) {
228 if (experiment.flags & installer::kToastUiMakeDefault) {
259 if (experiment.flags & installer::kToastUiWhyLink) {
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dextension_install_dialog_view.cc91 // experiment. This is used to group the actions in UMA histograms named
209 // Possible grid layouts without ExtensionPermissionDialog experiment:
243 // on the experiment group. For text only experiment, a footer is added at the
247 // Regular install w/ permissions and footer (experiment):
260 // Regular install w/ permissions and inline explanations (experiment):
275 // Regular install w/ permissions and inline explanations (experiment):
287 // the dialog depending on the experiment group.
311 prompt_->experiment()->should_show_expandable_permission_list()) {
312 // If the experiment shoul
[all...]
/external/chromium_org/chrome/browser/metrics/variations/
H A Dvariations_seed_store_unittest.cc43 // study called "test", which contains one experiment called "abc" with
51 variations::Study_Experiment* experiment = study->add_experiment(); local
52 experiment->set_name("abc");
53 experiment->set_probability_weight(100);

Completed in 2049 milliseconds

12