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

Unified Diff: chrome/browser/android/webapk/chrome_webapk_host.cc

Issue 2790673002: Remove finch flag for play installation. (Closed)
Patch Set: Remove finch flag for play installation. Created 3 years, 9 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
« no previous file with comments | « chrome/browser/android/webapk/chrome_webapk_host.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapk/chrome_webapk_host.cc
diff --git a/chrome/browser/android/webapk/chrome_webapk_host.cc b/chrome/browser/android/webapk/chrome_webapk_host.cc
index f7653c4e65b8d1340b3cacdde5b8721718ce5eb2..c5a87d47c4f380a47e56831dbd807af7a8befde7 100644
--- a/chrome/browser/android/webapk/chrome_webapk_host.cc
+++ b/chrome/browser/android/webapk/chrome_webapk_host.cc
@@ -10,9 +10,6 @@
namespace {
-// Variations flag to enable installing WebAPKs using Google Play.
-const char* kPlayInstall = "play_install";
-
// Variations flag to enable launching Chrome renderer in WebAPK process.
const char* kLaunchRendererInWebApkProcess =
"launch_renderer_in_webapk_process";
@@ -38,14 +35,6 @@ GooglePlayInstallState ChromeWebApkHost::GetGooglePlayInstallState() {
}
// static
-jboolean CanUseGooglePlayToInstallWebApk(
- JNIEnv* env,
- const base::android::JavaParamRef<jclass>& clazz) {
- return variations::GetVariationParamValueByFeature(
- chrome::android::kImprovedA2HS, kPlayInstall) == "true";
-}
-
-// static
jboolean CanLaunchRendererInWebApkProcess(
JNIEnv* env,
const base::android::JavaParamRef<jclass>& clazz) {
« no previous file with comments | « chrome/browser/android/webapk/chrome_webapk_host.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698