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

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

Issue 2733543002: [Android:WebAPK] Don't add webapp to homescreen if WebAPK install times out part 1/3 (Closed)
Patch Set: Merge branch 'refactor_shortcut_helper29' into refactor_shortcut_helper3 Created 3 years, 10 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_install_service.cc
diff --git a/chrome/browser/android/webapk/webapk_install_service.cc b/chrome/browser/android/webapk/webapk_install_service.cc
index 153543f1ffd1373416b10988958d1fb34f0d05e5..644fd0e8d1a5cc061d81ee2ea6dc5b9ed9c61dce 100644
--- a/chrome/browser/android/webapk/webapk_install_service.cc
+++ b/chrome/browser/android/webapk/webapk_install_service.cc
@@ -63,8 +63,8 @@ void WebApkInstallService::UpdateAsync(
void WebApkInstallService::OnFinishedInstall(
const GURL& web_manifest_url,
const FinishCallback& finish_callback,
- bool success,
+ WebApkInstallResult result,
const std::string& webapk_package_name) {
- finish_callback.Run(success, webapk_package_name);
+ finish_callback.Run(result, webapk_package_name);
installs_.erase(web_manifest_url);
}

Powered by Google App Engine
This is Rietveld 408576698