OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 package org.chromium.chrome.browser; | 5 package org.chromium.chrome.browser; |
6 | 6 |
7 public class ChromeVersionConstants { | 7 class ChromeVersionConstants { |
8 public static final String PRODUCT_NAME = "@PRODUCT_FULLNAME@"; | 8 static final String PRODUCT_NAME = "@PRODUCT_FULLNAME@"; |
9 public static final String PRODUCT_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH
@"; | 9 static final String PRODUCT_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"; |
10 public static final boolean IS_OFFICIAL_BUILD = @OFFICIAL_BUILD@ == 1; | 10 static final boolean IS_OFFICIAL_BUILD = @OFFICIAL_BUILD@ == 1; |
| 11 |
| 12 static final int CHANNEL_DEFAULT = 0; |
| 13 static final int CHANNEL_CANARY = 1; |
| 14 static final int CHANNEL_DEV = 2; |
| 15 static final int CHANNEL_BETA = 3; |
| 16 static final int CHANNEL_STABLE = 4; |
| 17 static final int CHANNEL = CHANNEL_@CHANNEL@; |
11 } | 18 } |
OLD | NEW |