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

Unified Diff: chrome/browser/android/banners/app_banner_infobar_delegate_android.cc

Issue 1220813010: Add UMA metrics to track the source of homescreen icons on launch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing reviewer comments Created 5 years, 5 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/banners/app_banner_infobar_delegate_android.cc
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
index 84a883f2b99d69356145d2367a4b24e1465e7a85..a61220907f486a241e7d770401ad5d1e53a32921 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc
@@ -215,6 +215,7 @@ bool AppBannerInfoBarDelegateAndroid::Accept() {
ShortcutInfo info;
info.UpdateFromManifest(web_app_data_);
+ info.UpdateSource(ShortcutInfo::SOURCE_APP_BANNER);
content::BrowserThread::PostTask(
content::BrowserThread::IO,
FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698