| 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 92d5bdd0aeb2ffd3dca134ff6ca9b3c4fa6f7454..f41032b0f35ba14499e5348d591f50be638c1c80 100644
|
| --- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
|
| +++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
|
| @@ -5,12 +5,14 @@
|
| #ifndef CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_
|
| #define CHROME_BROWSER_ANDROID_BANNERS_APP_BANNER_INFOBAR_DELEGATE_ANDROID_H_
|
|
|
| +#include <memory>
|
| +#include <string>
|
| +
|
| #include "base/android/scoped_java_ref.h"
|
| #include "base/macros.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/strings/string16.h"
|
| #include "chrome/browser/android/webapk/webapk_metrics.h"
|
| -#include "chrome/browser/banners/app_banner_manager.h"
|
| #include "components/infobars/core/confirm_infobar_delegate.h"
|
| #include "ui/gfx/image/image.h"
|
| #include "url/gurl.h"
|
| @@ -28,6 +30,8 @@ struct ShortcutInfo;
|
|
|
| namespace banners {
|
|
|
| +class AppBannerManager;
|
| +
|
| // Manages installation of an app being promoted by a page.
|
| class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
|
| public:
|
| @@ -115,8 +119,7 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
|
| // function launches the installed WebAPK and returns true.
|
| bool AcceptWebApk(content::WebContents* web_contents);
|
|
|
| - void SendBannerAccepted(content::WebContents* web_contents,
|
| - const std::string& platform);
|
| + void SendBannerAccepted();
|
| void OnWebApkInstallFinished(bool success, const std::string& webapk_package);
|
| void TrackWebApkInstallationDismissEvents(InstallState install_state);
|
|
|
|
|