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

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

Issue 2641973003: Implement server-suggested update check backoff (Closed)
Patch Set: Created 3 years, 11 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 a83b9c8ef42d519413253f91387681e695e6e981..4389e3906c0a657d4b5ba9eb4de9befea963e7a1 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
@@ -12,6 +12,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
+#include "chrome/browser/android/webapk/webapk_install_service.h"
#include "chrome/browser/android/webapk/webapk_metrics.h"
#include "components/infobars/core/confirm_infobar_delegate.h"
#include "ui/gfx/image/image.h"
@@ -121,8 +122,9 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
// A2HS menu item. Otherwise returns true.
bool TriggeredFromBanner() const;
void SendBannerAccepted();
- void OnWebApkInstallFinished(bool success,
- const std::string& webapk_package_name);
+ void OnWebApkInstallFinished(
+ bool success,
+ const WebApkInstallService::FinishCallbackData& data);
void TrackWebApkInstallationDismissEvents(InstallState install_state);
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698