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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO Created 4 years, 2 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/android/banners/app_banner_infobar_delegate_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/android/banners/app_banner_infobar_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698