| 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; |
| 8 |
| 7 package chrome_variations; | 9 package chrome_variations; |
| 8 | 10 |
| 9 // This defines the Protocol Buffer representation of a Chrome Variations study | 11 // This defines the Protocol Buffer representation of a Chrome Variations study |
| 10 // as sent to clients of the Variations server. | 12 // as sent to clients of the Variations server. |
| 11 // | 13 // |
| 12 // Next tag: 11 | 14 // Next tag: 11 |
| 13 message Study { | 15 message Study { |
| 14 // 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. |
| 15 // Ex: "my_study" | 17 // Ex: "my_study" |
| 16 required string name = 1; | 18 required string name = 1; |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // List of locales that will receive this study. If omitted, the study | 121 // List of locales that will receive this study. If omitted, the study |
| 120 // applies to all locales. | 122 // applies to all locales. |
| 121 // Ex: ["en-US", "en-CA"] | 123 // Ex: ["en-US", "en-CA"] |
| 122 repeated string locale = 6; | 124 repeated string locale = 6; |
| 123 } | 125 } |
| 124 | 126 |
| 125 // Filtering criteria for this study. A study that is filtered out for a given | 127 // Filtering criteria for this study. A study that is filtered out for a given |
| 126 // client is equivalent to that study not being sent at all. | 128 // client is equivalent to that study not being sent at all. |
| 127 optional Filter filter = 10; | 129 optional Filter filter = 10; |
| 128 } | 130 } |
| OLD | NEW |