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

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..13809358f50740a2497bfa017291a2c0ad541bac 100644
--- a/chrome/browser/android/shortcut_helper.cc
+++ b/chrome/browser/android/shortcut_helper.cc
@@ -161,8 +161,6 @@ 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() ==
Yaron 2017/04/04 16:42:02 the comment was unnecessary, but I'm truthfully un
pkotwicz 2017/04/04 19:06:07 We can. The caller only calls ShortcutHelper::Inst
Yaron 2017/04/04 19:49:08 Done.
GooglePlayInstallState::SUPPORTED) {
webapk::TrackGooglePlayInstallState(GooglePlayInstallState::SUPPORTED);

Powered by Google App Engine
This is Rietveld 408576698