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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 PLATFORM_WINDOWS = 0; | 185 PLATFORM_WINDOWS = 0; |
186 PLATFORM_MAC = 1; | 186 PLATFORM_MAC = 1; |
187 PLATFORM_LINUX = 2; | 187 PLATFORM_LINUX = 2; |
188 PLATFORM_CHROMEOS = 3; | 188 PLATFORM_CHROMEOS = 3; |
189 PLATFORM_ANDROID = 4; | 189 PLATFORM_ANDROID = 4; |
190 PLATFORM_IOS = 5; | 190 PLATFORM_IOS = 5; |
191 } | 191 } |
192 | 192 |
193 // Possible form factors Chrome is running on. | 193 // Possible form factors Chrome is running on. |
194 enum FormFactor { | 194 enum FormFactor { |
| 195 // Chrome Desktop on Windows, Mac, Linux, or ChromeOS. |
195 DESKTOP = 0; | 196 DESKTOP = 0; |
| 197 // Phone-based mobile Chrome, e.g. an Android phone or iPhone. |
196 PHONE = 1; | 198 PHONE = 1; |
| 199 // Tablet-based mobile Chrome, e.g. an Android tablet or iPad. |
197 TABLET = 2; | 200 TABLET = 2; |
| 201 // ChromeOS running in single-app Kiosk mode. |
198 KIOSK = 3; | 202 KIOSK = 3; |
199 } | 203 } |
200 | 204 |
201 // Filtering criteria specifying whether this study is applicable to a given | 205 // Filtering criteria specifying whether this study is applicable to a given |
202 // Chrome instance. | 206 // Chrome instance. |
203 // | 207 // |
204 // Next tag: 15 | 208 // Next tag: 15 |
205 message Filter { | 209 message Filter { |
206 // The start date of the study in Unix time format. (Seconds since midnight | 210 // The start date of the study in Unix time format. (Seconds since midnight |
207 // January 1, 1970 UTC). See: http://en.wikipedia.org/wiki/Unix_time | 211 // January 1, 1970 UTC). See: http://en.wikipedia.org/wiki/Unix_time |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 // This is recommended for most studies that include client code. | 316 // This is recommended for most studies that include client code. |
313 ACTIVATION_EXPLICIT = 0; | 317 ACTIVATION_EXPLICIT = 0; |
314 // The study will be automatically activated when it is created. This | 318 // The study will be automatically activated when it is created. This |
315 // is recommended for studies that do not have any client logic. | 319 // is recommended for studies that do not have any client logic. |
316 ACTIVATION_AUTO = 1; | 320 ACTIVATION_AUTO = 1; |
317 } | 321 } |
318 | 322 |
319 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. | 323 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. |
320 optional ActivationType activation_type = 12; | 324 optional ActivationType activation_type = 12; |
321 } | 325 } |
OLD | NEW |