| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package variations; | 9 package variations; |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 // Ex: PERMANENT | 37 // Ex: PERMANENT |
| 38 optional Consistency consistency = 7 [default = SESSION]; | 38 optional Consistency consistency = 7 [default = SESSION]; |
| 39 | 39 |
| 40 // Name of the experiment that gets the default experience. This experiment | 40 // Name of the experiment that gets the default experience. This experiment |
| 41 // must be included in the list below. | 41 // must be included in the list below. |
| 42 // Ex: "default" | 42 // Ex: "default" |
| 43 optional string default_experiment_name = 8; | 43 optional string default_experiment_name = 8; |
| 44 | 44 |
| 45 // An experiment within the study. | 45 // An experiment within the study. |
| 46 // | 46 // |
| 47 // Next tag: 13 | 47 // Next tag: 14 |
| 48 message Experiment { | 48 message Experiment { |
| 49 // A named parameter value for this experiment. | 49 // A named parameter value for this experiment. |
| 50 // | 50 // |
| 51 // Next tag: 3 | 51 // Next tag: 3 |
| 52 message Param { | 52 message Param { |
| 53 // The name of the parameter. | 53 // The name of the parameter. |
| 54 optional string name = 1; | 54 optional string name = 1; |
| 55 | 55 |
| 56 // The value of the parameter. | 56 // The value of the parameter. |
| 57 optional string value = 2; | 57 optional string value = 2; |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // This is recommended for most studies that include client code. | 293 // This is recommended for most studies that include client code. |
| 294 ACTIVATION_EXPLICIT = 0; | 294 ACTIVATION_EXPLICIT = 0; |
| 295 // The study will be automatically activated when it is created. This | 295 // The study will be automatically activated when it is created. This |
| 296 // is recommended for studies that do not have any client logic. | 296 // is recommended for studies that do not have any client logic. |
| 297 ACTIVATION_AUTO = 1; | 297 ACTIVATION_AUTO = 1; |
| 298 } | 298 } |
| 299 | 299 |
| 300 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. | 300 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. |
| 301 optional ActivationType activation_type = 12; | 301 optional ActivationType activation_type = 12; |
| 302 } | 302 } |
| OLD | NEW |