| 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..d2c36522bc0036c685e5b62765211094a0748c31 100644
|
| --- a/chrome/browser/translate/chrome_translate_client.cc
|
| +++ b/chrome/browser/translate/chrome_translate_client.cc
|
| @@ -218,7 +218,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);
|
|
|