| Index: chrome/renderer/translate_helper.h
|
| diff --git a/chrome/renderer/translate_helper.h b/chrome/renderer/translate_helper.h
|
| index de7afa3c0c7bdaa060531b6d706e4ff993104105..88a1a1528a7838b9e35ac98fd337d067ba4b30a0 100644
|
| --- a/chrome/renderer/translate_helper.h
|
| +++ b/chrome/renderer/translate_helper.h
|
| @@ -70,9 +70,11 @@ class TranslateHelper : public content::RenderViewObserver {
|
| // should not be translated.
|
| static bool IsPageTranslatable(WebKit::WebDocument* document);
|
|
|
| +#if defined(ENABLE_LANGUAGE_DETECTION)
|
| // Returns the ISO 639_1 language code of the specified |text|, or 'unknown'
|
| // if it failed.
|
| static std::string DetermineTextLanguage(const string16& text);
|
| +#endif
|
|
|
| // RenderViewObserver implementation.
|
| virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
|
|
|