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

Unified Diff: chrome/browser/android/shortcut_helper.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/shortcut_helper.cc
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc
index 9a0674f440f3f56984eeeaf7f5f7eb87eb239df3..4016277de0a41de2ae53d49e887243e3c3e0e982 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -161,12 +161,7 @@ void ShortcutHelper::InstallWebApkWithSkBitmap(
const WebApkInstallService::FinishCallback& callback) {
WebApkInstallService::Get(web_contents->GetBrowserContext())
->InstallAsync(info, icon_bitmap, callback);
- // Don't record metric for users who install WebAPKs via "unsigned sources"
- // flow.
- if (ChromeWebApkHost::GetGooglePlayInstallState() ==
- GooglePlayInstallState::SUPPORTED) {
- webapk::TrackGooglePlayInstallState(GooglePlayInstallState::SUPPORTED);
- }
+ webapk::TrackGooglePlayInstallState(GooglePlayInstallState::SUPPORTED);
}
void ShortcutHelper::ShowWebApkInstallInProgressToast() {

Powered by Google App Engine
This is Rietveld 408576698