| 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 chrome_variations; |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 // See: http://dev.chromium.org/getting-involved/dev-channel | 69 // See: http://dev.chromium.org/getting-involved/dev-channel |
| 70 enum Channel { | 70 enum Channel { |
| 71 CANARY = 0; | 71 CANARY = 0; |
| 72 DEV = 1; | 72 DEV = 1; |
| 73 BETA = 2; | 73 BETA = 2; |
| 74 STABLE = 3; | 74 STABLE = 3; |
| 75 } | 75 } |
| 76 | 76 |
| 77 // Possible Chrome operating system platforms. | 77 // Possible Chrome operating system platforms. |
| 78 enum Platform { | 78 enum Platform { |
| 79 PLATFORM_WINDOWS = 0; | 79 PLATFORM_WINDOWS = 0; |
| 80 PLATFORM_MAC = 1; | 80 PLATFORM_MAC = 1; |
| 81 PLATFORM_LINUX = 2; | 81 PLATFORM_LINUX = 2; |
| 82 PLATFORM_CHROMEOS = 3; | 82 PLATFORM_CHROMEOS = 3; |
| 83 PLATFORM_ANDROID = 4; | 83 PLATFORM_ANDROID = 4; |
| 84 PLATFORM_IOS = 5; |
| 84 } | 85 } |
| 85 | 86 |
| 86 // Filtering criteria specifying whether this study is applicable to a given | 87 // Filtering criteria specifying whether this study is applicable to a given |
| 87 // Chrome instance. | 88 // Chrome instance. |
| 88 // | 89 // |
| 89 // Next tag: 6 | 90 // Next tag: 6 |
| 90 message Filter { | 91 message Filter { |
| 91 // The start date of the study in Unix time format. (Seconds since midnight | 92 // The start date of the study in Unix time format. (Seconds since midnight |
| 92 // January 1, 1970 UTC). See: http://en.wikipedia.org/wiki/Unix_time | 93 // January 1, 1970 UTC). See: http://en.wikipedia.org/wiki/Unix_time |
| 93 // Ex: 1330893974 (corresponds to 2012-03-04 20:46:14Z) | 94 // Ex: 1330893974 (corresponds to 2012-03-04 20:46:14Z) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 115 // List of platforms that will receive this study. If omitted, the study | 116 // List of platforms that will receive this study. If omitted, the study |
| 116 // applies to all platforms. | 117 // applies to all platforms. |
| 117 // Ex: [PLATFORM_WINDOWS, PLATFORM_MAC] | 118 // Ex: [PLATFORM_WINDOWS, PLATFORM_MAC] |
| 118 repeated Platform platform = 5; | 119 repeated Platform platform = 5; |
| 119 } | 120 } |
| 120 | 121 |
| 121 // Filtering criteria for this study. A study that is filtered out for a given | 122 // Filtering criteria for this study. A study that is filtered out for a given |
| 122 // client is equivalent to that study not being sent at all. | 123 // client is equivalent to that study not being sent at all. |
| 123 optional Filter filter = 10; | 124 optional Filter filter = 10; |
| 124 } | 125 } |
| OLD | NEW |