mark | dde55ab | 2017-04-10 19:15:01 | [diff] [blame] | 1 | // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef COMPONENTS_VERSION_INFO_CHANNEL_H_ |
| 6 | #define COMPONENTS_VERSION_INFO_CHANNEL_H_ |
| 7 | |
| 8 | namespace version_info { |
| 9 | |
| 10 | // The possible channels for an installation, from most fun to most stable. |
Paul Miller | b66db7c | 2018-03-01 02:52:39 | [diff] [blame] | 11 | // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.version_info |
| 12 | enum class Channel { |
| 13 | UNKNOWN = 0, |
| 14 | // DEFAULT is an alias for UNKNOWN because the build files use DEFAULT but the |
| 15 | // code uses UNKNOWN. TODO(paulmiller): Combine DEFAULT & UNKNOWN. |
| 16 | DEFAULT = UNKNOWN, |
| 17 | CANARY = 1, |
| 18 | DEV = 2, |
| 19 | BETA = 3, |
| 20 | STABLE = 4, |
| 21 | }; |
mark | dde55ab | 2017-04-10 19:15:01 | [diff] [blame] | 22 | |
| 23 | } // namespace version_info |
| 24 | |
| 25 | #endif // COMPONENTS_VERSION_INFO_CHANNEL_H_ |