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

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

Issue 2860193002: Correctly record WebAPK install source for Launch.HomescreenSource (Closed)
Patch Set: Rebase. Created 3 years, 7 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/shortcut_info.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapk/webapk_installer.cc
diff --git a/chrome/browser/android/webapk/webapk_installer.cc b/chrome/browser/android/webapk/webapk_installer.cc
index ff00159005d920231f344aeb3a8987075e5edbe4..2d90b0f923c666430ee8acf925dd9f63a848fb31 100644
--- a/chrome/browser/android/webapk/webapk_installer.cc
+++ b/chrome/browser/android/webapk/webapk_installer.cc
@@ -287,7 +287,7 @@ void WebApkInstaller::InstallOrUpdateWebApk(const std::string& package_name,
if (task_type_ == WebApkInstaller::INSTALL) {
Java_WebApkInstaller_installWebApkAsync(env, java_ref_, java_webapk_package,
version, java_title, java_token,
- java_url);
+ java_url, shortcut_info_.source);
} else {
Java_WebApkInstaller_updateAsync(env, java_ref_, java_webapk_package,
version, java_title, java_token, java_url);
« no previous file with comments | « chrome/browser/android/shortcut_info.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698