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

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

Issue 2860193002: Correctly record WebAPK install source for Launch.HomescreenSource (Closed)
Patch Set: 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
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 1ac3740a961630d650f29fc197d26ae9f7395ef2..e1a45f404f4cbc7bac8a5f6e083d25f1ca3a3c34 100644
--- a/chrome/browser/android/webapk/webapk_installer.cc
+++ b/chrome/browser/android/webapk/webapk_installer.cc
@@ -292,7 +292,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);

Powered by Google App Engine
This is Rietveld 408576698