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

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

Issue 2733543002: [Android:WebAPK] Don't add webapp to homescreen if WebAPK install times out part 1/3 (Closed)
Patch Set: Merge branch 'start' into refactor_shortcut_helper3 Created 3 years, 9 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.h
diff --git a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
index b1a2dfbe747265607da5fd6738dbb71e36c4f724..7320119a60032b2d250bc16b351b29a5717fa546 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
@@ -28,6 +28,7 @@ namespace infobars {
class InfoBarManager;
}
+enum class WebApkInstallResult;
struct ShortcutInfo;
namespace banners {
@@ -125,12 +126,12 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
// A2HS menu item. Otherwise returns true.
bool TriggeredFromBanner() const;
void SendBannerAccepted();
- void OnWebApkInstallFinished(bool success,
+ void OnWebApkInstallFinished(WebApkInstallResult result,
bool relax_updates,
const std::string& webapk_package_name);
// Called when a WebAPK install fails.
- void OnWebApkInstallFailed();
+ void OnWebApkInstallFailed(WebApkInstallResult result);
void TrackWebApkInstallationDismissEvents(InstallState install_state);

Powered by Google App Engine
This is Rietveld 408576698