| Index: components/translate/core/browser/translate_infobar_delegate.h
|
| diff --git a/chrome/browser/translate/translate_infobar_delegate.h b/components/translate/core/browser/translate_infobar_delegate.h
|
| similarity index 94%
|
| rename from chrome/browser/translate/translate_infobar_delegate.h
|
| rename to components/translate/core/browser/translate_infobar_delegate.h
|
| index 5248e32bf467c364deb56fd6b899212a74c1987e..cc6ca2d8f442ff510d5fe8ca9db386171311a768 100644
|
| --- a/chrome/browser/translate/translate_infobar_delegate.h
|
| +++ b/components/translate/core/browser/translate_infobar_delegate.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
|
| -#define CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
|
| +#ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_
|
| +#define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_
|
|
|
| #include <string>
|
| #include <utility>
|
| @@ -189,14 +189,6 @@ class TranslateInfoBarDelegate : public infobars::InfoBarDelegate {
|
| friend class TranslationInfoBarTest;
|
| typedef std::pair<std::string, base::string16> LanguageNamePair;
|
|
|
| - // Returns a translate infobar that owns |delegate|.
|
| - static scoped_ptr<infobars::InfoBar> CreateInfoBar(
|
| - scoped_ptr<TranslateInfoBarDelegate> delegate);
|
| -
|
| - // Gets the TranslateClient associated with this object.
|
| - // May return NULL if the client has been destroyed.
|
| - TranslateClient* GetTranslateClient();
|
| -
|
| // InfoBarDelegate:
|
| virtual void InfoBarDismissed() OVERRIDE;
|
| virtual int GetIconID() const OVERRIDE;
|
| @@ -226,4 +218,4 @@ class TranslateInfoBarDelegate : public infobars::InfoBarDelegate {
|
| DISALLOW_COPY_AND_ASSIGN(TranslateInfoBarDelegate);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_INFOBAR_DELEGATE_H_
|
| +#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_INFOBAR_DELEGATE_H_
|
|
|