| 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 c305bb973fe7bee9e71c9a386d3de8a453ecd852..bb4362c5bc61229fe5465bed095f78effa738f03 100644
|
| --- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
|
| +++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
|
| @@ -5,15 +5,16 @@
|
| #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"
|
|
|
| namespace content {
|
| class WebContents;
|
| @@ -27,6 +28,8 @@ struct ShortcutInfo;
|
|
|
| namespace banners {
|
|
|
| +class AppBannerManager;
|
| +
|
| // Manages installation of an app being promoted by a page.
|
| class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
|
| public:
|
| @@ -114,8 +117,7 @@ class AppBannerInfoBarDelegateAndroid : public ConfirmInfoBarDelegate {
|
| // infobar should be closed as a result of the button press.
|
| 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_name);
|
| void TrackWebApkInstallationDismissEvents(InstallState install_state);
|
|
|