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

Unified Diff: content/public/common/result_codes.h

Issue 11567061: Throw exception when initialization failed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 7 years, 11 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
Index: content/public/common/result_codes.h
diff --git a/content/public/common/result_codes.h b/content/public/common/result_codes.h
index 20cfbb87e02d9402ae03e367e79eaecfd0ba9b64..b3c4a6b7299fd1fecb633656f63062e57cb484a0 100644
--- a/content/public/common/result_codes.h
+++ b/content/public/common/result_codes.h
@@ -28,7 +28,12 @@ enum ResultCode {
RESULT_CODE_HUNG = 2,
// A bad message caused the process termination.
- RESULT_CODE_KILLED_BAD_MESSAGE,
+ RESULT_CODE_KILLED_BAD_MESSAGE = 3,
+
+#if defined(OS_ANDROID)
+ // Failed to register JNI methods.
+ RESULT_CODE_FAILED_TO_REGISTER_JNI = 4,
+#endif
// Last return code (keep this last).
RESULT_CODE_LAST_CODE

Powered by Google App Engine
This is Rietveld 408576698