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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Remove WebAppBannerPromptResult 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
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..e0bfeafae97269097756b29eb47a0f8067e63cc2 100644
--- a/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
+++ b/chrome/browser/android/banners/app_banner_infobar_delegate_android.h
@@ -5,6 +5,9 @@
#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"
@@ -115,8 +118,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);

Powered by Google App Engine
This is Rietveld 408576698