| Index: chrome/browser/translate/chrome_translate_client.cc
|
| diff --git a/chrome/browser/translate/chrome_translate_client.cc b/chrome/browser/translate/chrome_translate_client.cc
|
| index 15fc4fe07cb9af4b1f3d9bcd03e421bc50b17dbd..61145e601c5038263080e53db817f09c0df76b10 100644
|
| --- a/chrome/browser/translate/chrome_translate_client.cc
|
| +++ b/chrome/browser/translate/chrome_translate_client.cc
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| #include "chrome/browser/ui/translate/translate_bubble_factory.h"
|
| #include "chrome/common/pref_names.h"
|
| +#include "components/infobars/core/infobar.h"
|
| #include "components/translate/content/common/translate_messages.h"
|
| #include "components/translate/core/browser/page_translated_details.h"
|
| #include "components/translate/core/browser/translate_accept_languages.h"
|
| @@ -218,7 +219,13 @@ int ChromeTranslateClient::GetInfobarIconID() const {
|
| }
|
|
|
| // ChromeTranslateClient::CreateInfoBar() is implemented in platform-specific
|
| -// files.
|
| +// files, except the TOOLKIT_VIEWS implementation, which has been removed.
|
| +#if defined(TOOLKIT_VIEWS)
|
| +scoped_ptr<infobars::InfoBar> ChromeTranslateClient::CreateInfoBar(
|
| + scoped_ptr<TranslateInfoBarDelegate> delegate) const {
|
| + return scoped_ptr<infobars::InfoBar>();
|
| +}
|
| +#endif
|
|
|
| bool ChromeTranslateClient::IsTranslatableURL(const GURL& url) {
|
| return TranslateService::IsTranslatableURL(url);
|
|
|