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

Unified Diff: chrome/common/chrome_version_info_android.cc

Issue 863033004: Add com.chrome.work as supported channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/chrome_version_info_android.cc
diff --git a/chrome/common/chrome_version_info_android.cc b/chrome/common/chrome_version_info_android.cc
index 7e50291c1d6e785a2267d54fadfbe631b046bcc2..d1137fdd7449c32295bda52b6dddcde9d87e6414 100644
--- a/chrome/common/chrome_version_info_android.cc
+++ b/chrome/common/chrome_version_info_android.cc
@@ -28,7 +28,8 @@ VersionInfo::Channel VersionInfo::GetChannel() {
const base::android::BuildInfo* bi = base::android::BuildInfo::GetInstance();
DCHECK(bi && bi->package_name());
- if (!strcmp(bi->package_name(), "com.android.chrome"))
+ if (!strcmp(bi->package_name(), "com.android.chrome")
+ || !strcmp(bi->package_name(), "com.chrome.work"))
return CHANNEL_STABLE;
if (!strcmp(bi->package_name(), "com.chrome.beta"))
return CHANNEL_BETA;

Powered by Google App Engine
This is Rietveld 408576698