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

Unified Diff: chrome/browser/ui/android/infobars/confirm_infobar.cc

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 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/ui/android/infobars/confirm_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/confirm_infobar.cc b/chrome/browser/ui/android/infobars/confirm_infobar.cc
index 5c9ab069885470467ff61ee30c04910211a035fb..670e84875258d4ec2d92bc60d2affa6232c8073a 100644
--- a/chrome/browser/ui/android/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/android/infobars/confirm_infobar.cc
@@ -15,18 +15,17 @@
// ConfirmInfoBarDelegate -----------------------------------------------------
// static
-scoped_ptr<InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
+scoped_ptr<infobars::InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate) {
- return scoped_ptr<InfoBar>(new ConfirmInfoBar(delegate.Pass()));
+ return scoped_ptr<infobars::InfoBar>(new ConfirmInfoBar(delegate.Pass()));
}
// ConfirmInfoBar -------------------------------------------------------------
ConfirmInfoBar::ConfirmInfoBar(scoped_ptr<ConfirmInfoBarDelegate> delegate)
- : InfoBarAndroid(delegate.PassAs<InfoBarDelegate>()),
- java_confirm_delegate_() {
-}
+ : InfoBarAndroid(delegate.PassAs<infobars::InfoBarDelegate>()),
+ java_confirm_delegate_() {}
ConfirmInfoBar::~ConfirmInfoBar() {
}

Powered by Google App Engine
This is Rietveld 408576698