diff options
Diffstat (limited to 'chrome/common/translate_errors.h')
-rw-r--r-- | chrome/common/translate_errors.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/translate_errors.h b/chrome/common/translate_errors.h index c8f4225..56a104c 100644 --- a/chrome/common/translate_errors.h +++ b/chrome/common/translate_errors.h @@ -13,8 +13,10 @@ class TranslateErrors { NONE = 0, NETWORK, // No connectivity. INITIALIZATION_ERROR, // The translation script failed to initialize. - TRANSLATION_ERROR, // An error was reported by the translation script - // during translation. + UNKNOWN_LANGUAGE, // The page's language could not be detected. + IDENTICAL_LANGUAGES, // The original and target languages are the same. + TRANSLATION_ERROR, // An error was reported by the translation script + // during translation. }; private: |