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

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

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return nullptr for CreateInfoBar() in test_autofill_client.cc. 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..ff95d34b09dd94d7ca2bfee18bd7516bddb58b71 100644
--- a/components/infobars/core/confirm_infobar_delegate.h
+++ b/components/infobars/core/confirm_infobar_delegate.h
@@ -63,13 +63,13 @@ class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate {
// this call something triggers the infobar to begin closing.
virtual bool LinkClicked(WindowOpenDisposition disposition);
- protected:
- ConfirmInfoBarDelegate();
-
// Returns a confirm infobar that owns |delegate|.
static scoped_ptr<infobars::InfoBar> CreateInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate);
+ protected:
+ ConfirmInfoBarDelegate();
+
bool ShouldExpireInternal(const NavigationDetails& details) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698