| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 // type, but is not actually meant to be encoded in the protobuf. | 175 // type, but is not actually meant to be encoded in the protobuf. |
| 176 UNKNOWN = -1; | 176 UNKNOWN = -1; |
| 177 CANARY = 0; | 177 CANARY = 0; |
| 178 DEV = 1; | 178 DEV = 1; |
| 179 BETA = 2; | 179 BETA = 2; |
| 180 STABLE = 3; | 180 STABLE = 3; |
| 181 } | 181 } |
| 182 | 182 |
| 183 // Possible Chrome operating system platforms. | 183 // Possible Chrome operating system platforms. |
| 184 enum Platform { | 184 enum Platform { |
| 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 PLATFORM_ANDROID_WEBVIEW = 6; |
| 191 } | 192 } |
| 192 | 193 |
| 193 // Possible form factors Chrome is running on. | 194 // Possible form factors Chrome is running on. |
| 194 enum FormFactor { | 195 enum FormFactor { |
| 195 // Chrome Desktop on Windows, Mac, Linux, or ChromeOS. | 196 // Chrome Desktop on Windows, Mac, Linux, or ChromeOS. |
| 196 DESKTOP = 0; | 197 DESKTOP = 0; |
| 197 // Phone-based mobile Chrome, e.g. an Android phone or iPhone. | 198 // Phone-based mobile Chrome, e.g. an Android phone or iPhone. |
| 198 PHONE = 1; | 199 PHONE = 1; |
| 199 // Tablet-based mobile Chrome, e.g. an Android tablet or iPad. | 200 // Tablet-based mobile Chrome, e.g. an Android tablet or iPad. |
| 200 TABLET = 2; | 201 TABLET = 2; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 // This is recommended for most studies that include client code. | 317 // This is recommended for most studies that include client code. |
| 317 ACTIVATION_EXPLICIT = 0; | 318 ACTIVATION_EXPLICIT = 0; |
| 318 // The study will be automatically activated when it is created. This | 319 // The study will be automatically activated when it is created. This |
| 319 // is recommended for studies that do not have any client logic. | 320 // is recommended for studies that do not have any client logic. |
| 320 ACTIVATION_AUTO = 1; | 321 ACTIVATION_AUTO = 1; |
| 321 } | 322 } |
| 322 | 323 |
| 323 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. | 324 // Activation type for this study. Defaults to ACTIVATION_EXPLICIT if omitted. |
| 324 optional ActivationType activation_type = 12; | 325 optional ActivationType activation_type = 12; |
| 325 } | 326 } |
| OLD | NEW |