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

Unified Diff: chrome/browser/android/chrome_feature_list.cc

Issue 2441243003: Use feature architecture as kill switch for WebAPKs instead of field trial (Closed)
Patch Set: Merge branch 'master' into webapk_finch0 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/chrome_feature_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/chrome_feature_list.cc
diff --git a/chrome/browser/android/chrome_feature_list.cc b/chrome/browser/android/chrome_feature_list.cc
index cb7531461ccc9f4b27f9ebb8e14d19ad2a51415c..dd9fff62ad7568a40ade0608d211cc4c6525909f 100644
--- a/chrome/browser/android/chrome_feature_list.cc
+++ b/chrome/browser/android/chrome_feature_list.cc
@@ -50,6 +50,7 @@ const base::Feature* kFeaturesExposedToJava[] = {
&kSpecialLocaleFeature,
&kSpecialLocaleWrapper,
&kTabReparenting,
+ &kWebApks,
&ntp_snippets::kContentSuggestionsFeature,
&ntp_snippets::kSaveToOfflineFeature,
&ntp_snippets::kSectionDismissalFeature,
@@ -107,6 +108,10 @@ const base::Feature kTabReparenting{"TabReparenting",
const base::Feature kUserMediaScreenCapturing{
"UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
+// Makes "Add to Home screen" in the app menu generate an APK for the shortcut
+// URL which opens Chrome in fullscreen.
+const base::Feature kWebApks{"WebApks", base::FEATURE_DISABLED_BY_DEFAULT};
+
static jboolean IsEnabled(JNIEnv* env,
const JavaParamRef<jclass>& clazz,
const JavaParamRef<jstring>& jfeature_name) {
« no previous file with comments | « chrome/browser/android/chrome_feature_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698