| 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 ab53bdbf5da0d0bc8ff6234c4062e96311faf274..f1dd161f2215e351a8e64c93e5d52095bd7c430e 100644
|
| --- a/chrome/browser/ui/android/infobars/translate_infobar.cc
|
| +++ b/chrome/browser/ui/android/infobars/translate_infobar.cc
|
| @@ -7,17 +7,17 @@
|
| #include "base/android/jni_android.h"
|
| #include "base/android/jni_array.h"
|
| #include "base/android/jni_weak_ref.h"
|
| -#include "chrome/browser/translate/translate_infobar_delegate.h"
|
| +#include "chrome/browser/translate/translate_tab_helper.h"
|
| +#include "components/translate/core/browser/translate_infobar_delegate.h"
|
| #include "grit/generated_resources.h"
|
| #include "jni/TranslateInfoBarDelegate_jni.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
|
|
| -// TranslateInfoBarDelegate ---------------------------------------------------
|
| +// TranslateTabHelper ----------------------------------------------------------
|
|
|
| -// static
|
| -scoped_ptr<infobars::InfoBar> TranslateInfoBarDelegate::CreateInfoBar(
|
| - scoped_ptr<TranslateInfoBarDelegate> delegate) {
|
| +scoped_ptr<infobars::InfoBar> TranslateTabHelper::CreateInfoBar(
|
| + scoped_ptr<TranslateInfoBarDelegate> delegate) const {
|
| return scoped_ptr<infobars::InfoBar>(new TranslateInfoBar(delegate.Pass()));
|
| }
|
|
|
|
|