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

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

Issue 646543003: [components] Apply automatic range checks to content enum types across IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/content/common/translate_messages.h ('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 7062fe3dba1ad33689ca4879679fbcda03a44097..5016ef993ea7e46d8f7b9151f937fda833c7a23e 100644
--- a/components/translate/core/common/translate_errors.h
+++ b/components/translate/core/common/translate_errors.h
@@ -32,6 +32,7 @@ class TranslateErrors {
BAD_ORIGIN, // The library is blocked because of bad origin.
SCRIPT_LOAD_ERROR, // Loader fails to load a dependent JavaScript.
TRANSLATE_ERROR_MAX,
+ TYPE_LAST = TRANSLATE_ERROR_MAX
};
private:
« no previous file with comments | « components/translate/content/common/translate_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698