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

Unified Diff: chrome/browser/ui/android/infobars/translate_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/translate_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/translate_infobar.cc b/chrome/browser/ui/android/infobars/translate_infobar.cc
index 266f232c90ba3c7043242a0dfbd9b1a3272a672e..9dfa04b5e37127c960e85320b8f5969994cbc7e5 100644
--- a/chrome/browser/ui/android/infobars/translate_infobar.cc
+++ b/chrome/browser/ui/android/infobars/translate_infobar.cc
@@ -16,9 +16,9 @@
// TranslateInfoBarDelegate ---------------------------------------------------
// static
-scoped_ptr<InfoBar> TranslateInfoBarDelegate::CreateInfoBar(
+scoped_ptr<infobars::InfoBar> TranslateInfoBarDelegate::CreateInfoBar(
scoped_ptr<TranslateInfoBarDelegate> delegate) {
- return scoped_ptr<InfoBar>(new TranslateInfoBar(delegate.Pass()));
+ return scoped_ptr<infobars::InfoBar>(new TranslateInfoBar(delegate.Pass()));
}
@@ -26,7 +26,7 @@ scoped_ptr<InfoBar> TranslateInfoBarDelegate::CreateInfoBar(
TranslateInfoBar::TranslateInfoBar(
scoped_ptr<TranslateInfoBarDelegate> delegate)
- : InfoBarAndroid(delegate.PassAs<InfoBarDelegate>()),
+ : InfoBarAndroid(delegate.PassAs<infobars::InfoBarDelegate>()),
java_translate_delegate_() {
}
« no previous file with comments | « chrome/browser/ui/android/infobars/save_password_infobar.cc ('k') | chrome/browser/ui/auto_login_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698