summaryrefslogtreecommitdiffstats
path: root/chrome/common/translate_errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/translate_errors.h')
-rw-r--r--chrome/common/translate_errors.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/translate_errors.h b/chrome/common/translate_errors.h
index de2e3bd..c8f4225 100644
--- a/chrome/common/translate_errors.h
+++ b/chrome/common/translate_errors.h
@@ -11,8 +11,10 @@ class TranslateErrors {
public:
enum Type {
NONE = 0,
- NETWORK = 1,
- SERVER,
+ NETWORK, // No connectivity.
+ INITIALIZATION_ERROR, // The translation script failed to initialize.
+ TRANSLATION_ERROR, // An error was reported by the translation script
+ // during translation.
};
private: