| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/variations/variations_switches.h" | 5 #include "components/variations/variations_switches.h" |
| 6 | 6 |
| 7 namespace variations { | 7 namespace variations { |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // Disable field trial tests configured in fieldtrial_testing_config.json. |
| 11 const char kDisableFieldTrialTestingConfig[] = "disable-field-trial-config"; |
| 12 |
| 10 // Fakes the channel of the browser for purposes of Variations filtering. This | 13 // Fakes the channel of the browser for purposes of Variations filtering. This |
| 11 // is to be used for testing only. Possible values are "stable", "beta", "dev" | 14 // is to be used for testing only. Possible values are "stable", "beta", "dev" |
| 12 // and "canary". Note that this only applies if the browser's reported channel | 15 // and "canary". Note that this only applies if the browser's reported channel |
| 13 // is UNKNOWN. | 16 // is UNKNOWN. |
| 14 const char kFakeVariationsChannel[] = "fake-variations-channel"; | 17 const char kFakeVariationsChannel[] = "fake-variations-channel"; |
| 15 | 18 |
| 19 // This option can be used to force parameters of field trials when testing |
| 20 // changes locally. The argument is a param list of (key, value) pairs prefixed |
| 21 // by an associated (trial, group) pair. You specify the param list for multiple |
| 22 // (trial, group) pairs with a comma separator. |
| 23 // Example: |
| 24 // "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4" |
| 25 // Trial names, groups names, parameter names, and value should all be URL |
| 26 // escaped for all non-alphanumeric characters. |
| 27 const char kForceFieldTrialParams[] = "force-fieldtrial-params"; |
| 28 |
| 16 // Specifies a custom URL for the server which reports variation data to the | 29 // Specifies a custom URL for the server which reports variation data to the |
| 17 // client. Specifying this switch enables the Variations service on | 30 // client. Specifying this switch enables the Variations service on |
| 18 // unofficial builds. See variations_service.cc. | 31 // unofficial builds. See variations_service.cc. |
| 19 const char kVariationsServerURL[] = "variations-server-url"; | 32 const char kVariationsServerURL[] = "variations-server-url"; |
| 20 | 33 |
| 21 } // namespace switches | 34 } // namespace switches |
| 22 } // namespace variations | 35 } // namespace variations |
| OLD | NEW |