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

Unified Diff: components/infobars/core/confirm_infobar_delegate.h

Issue 812823002: Remove dependency of infobars component on the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation on android/win Created 6 years 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: components/infobars/core/confirm_infobar_delegate.h
diff --git a/components/infobars/core/confirm_infobar_delegate.h b/components/infobars/core/confirm_infobar_delegate.h
index 1e1930d19d1a74aa8e63981a41e0e92f4e05e156..a3e5386b3e89e91704d02dea27471b1e5d8bfd0f 100644
--- a/components/infobars/core/confirm_infobar_delegate.h
+++ b/components/infobars/core/confirm_infobar_delegate.h
@@ -8,9 +8,11 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#include "components/infobars/core/infobar_delegate.h"
+#include "components/infobars/core/infobar_manager.h"
namespace infobars {
class InfoBar;
+class InfoBarManager;
}
// An interface derived from InfoBarDelegate implemented by objects wishing to
@@ -68,6 +70,7 @@ class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate {
// Returns a confirm infobar that owns |delegate|.
static scoped_ptr<infobars::InfoBar> CreateInfoBar(
+ infobars::InfoBarManager* manager,
scoped_ptr<ConfirmInfoBarDelegate> delegate);
bool ShouldExpireInternal(const NavigationDetails& details) const override;

Powered by Google App Engine
This is Rietveld 408576698