Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/android/java/ChromeVersionConstants.java.version

Issue 668343004: Make channel available in Java via ChromeVersionConstants.java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: brettw's comment Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW
« no previous file with comments | « chrome/android/channel.gni ('k') | chrome/android/java/src/org/chromium/chrome/browser/ChromeVersionInfo.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698