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

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

Issue 2400793003: [Signin] Update sign in promo triggering logic (Closed)
Patch Set: address comments Created 4 years, 2 months 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 class ChromeVersionConstants { 7 class ChromeVersionConstants {
8 static final String PRODUCT_NAME = "@PRODUCT_FULLNAME@"; 8 static final String PRODUCT_NAME = "@PRODUCT_FULLNAME@";
9 static final String PRODUCT_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"; 9 static final String PRODUCT_VERSION = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@";
10 static final String PRODUCT_MAJOR_VERSION = "@MAJOR@";
Bernhard Bauer 2016/10/07 16:17:23 I think you can make this directly an int :)
gogerald1 2016/10/07 17:51:09 Done. It looks inconsistent for getProductVersion
Bernhard Bauer 2016/10/08 13:54:51 Eh :) The latter is meant to be numeric, and the f
10 static final boolean IS_OFFICIAL_BUILD = @OFFICIAL_BUILD@ == 1; 11 static final boolean IS_OFFICIAL_BUILD = @OFFICIAL_BUILD@ == 1;
11 12
12 static final int CHANNEL_DEFAULT = 0; 13 static final int CHANNEL_DEFAULT = 0;
13 static final int CHANNEL_CANARY = 1; 14 static final int CHANNEL_CANARY = 1;
14 static final int CHANNEL_DEV = 2; 15 static final int CHANNEL_DEV = 2;
15 static final int CHANNEL_BETA = 3; 16 static final int CHANNEL_BETA = 3;
16 static final int CHANNEL_STABLE = 4; 17 static final int CHANNEL_STABLE = 4;
17 static final int CHANNEL_WORK = 5; 18 static final int CHANNEL_WORK = 5;
18 static final int CHANNEL = CHANNEL_@CHANNEL@; 19 static final int CHANNEL = CHANNEL_@CHANNEL@;
19 } 20 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698