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