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

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

Issue 2791983003: Remove untrusted sources installation flow. (Closed)
Patch Set: Remove untrusted sources installation flow. Created 3 years, 8 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/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 c5a87d47c4f380a47e56831dbd807af7a8befde7..8eab89dff3ec498175a25a8196067b84fb808188 100644
--- a/chrome/browser/android/webapk/chrome_webapk_host.cc
+++ b/chrome/browser/android/webapk/chrome_webapk_host.cc
@@ -42,12 +42,3 @@ jboolean CanLaunchRendererInWebApkProcess(
chrome::android::kImprovedA2HS, kLaunchRendererInWebApkProcess) ==
"true";
}
-
-// static
-jboolean CanInstallFromUnknownSources(
- JNIEnv* env,
- const base::android::JavaParamRef<jclass>& clazz) {
- return base::FeatureList::GetInstance()->IsFeatureOverriddenFromCommandLine(
- chrome::android::kImprovedA2HS.name,
- base::FeatureList::OVERRIDE_ENABLE_FEATURE);
-}
« no previous file with comments | « chrome/browser/android/webapk/chrome_webapk_host.h ('k') | chrome/browser/android/webapk/webapk_install_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698