| 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 chrome_variations; | 9 package variations; |
| 10 | 10 |
| 11 // This defines the Protocol Buffer representation of a Chrome Variations study | 11 // This defines the Protocol Buffer representation of a Chrome Variations study |
| 12 // as sent to clients of the Variations server. | 12 // as sent to clients of the Variations server. |
| 13 // | 13 // |
| 14 // Next tag: 13 | 14 // Next tag: 13 |
| 15 message Study { | 15 message Study { |
| 16 // The name of the study. Should not contain spaces or special characters. | 16 // The name of the study. Should not contain spaces or special characters. |
| 17 // Ex: "my_study" | 17 // Ex: "my_study" |
| 18 required string name = 1; | 18 required string name = 1; |
| 19 | 19 |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // This is recommended for most studies that include client code. | 236 // This is recommended for most studies that include client code. |
| 237 ACTIVATION_EXPLICIT = 0; | 237 ACTIVATION_EXPLICIT = 0; |
| 238 // The study will be automatically activated when it is created. This | 238 // The study will be automatically activated when it is created. This |
| 239 // is recommended for studies that do not have any client logic. | 239 // is recommended for studies that do not have any client logic. |
| 240 ACTIVATION_AUTO = 1; | 240 ACTIVATION_AUTO = 1; |
| 241 } | 241 } |
| 242 | 242 |
| 243 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. | 243 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. |
| 244 optional ActivationType activation_type = 12; | 244 optional ActivationType activation_type = 12; |
| 245 } | 245 } |
| OLD | NEW |