Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: components/translate/core/common/translate_errors.h

Issue 2919343007: Check |errorCode| of translate.js and notify to Browser (Closed)
Patch Set: Addressed review comment. Proper order of enum variables in switch case. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/translate/core/browser/translate_infobar_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/common/translate_errors.h
diff --git a/components/translate/core/common/translate_errors.h b/components/translate/core/common/translate_errors.h
index 268fe45da959043418b13396c3fd257336c94a5b..3701f31bbd7844af191870e06f21b6cc572327b5 100644
--- a/components/translate/core/common/translate_errors.h
+++ b/components/translate/core/common/translate_errors.h
@@ -27,7 +27,7 @@ class TranslateErrors {
IDENTICAL_LANGUAGES, // The original and target languages are the same.
TRANSLATION_ERROR, // An error was reported by the translation script
// during translation.
- TRANSLATION_TIMEOUT, // The library doesn't finish the translation.
+ TRANSLATION_TIMEOUT, // The library doesn't finish initialization.
UNEXPECTED_SCRIPT_ERROR, // The library raises an unexpected exception.
BAD_ORIGIN, // The library is blocked because of bad origin.
SCRIPT_LOAD_ERROR, // Loader fails to load a dependent JavaScript.
« no previous file with comments | « components/translate/core/browser/translate_infobar_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698