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

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

Issue 59533009: Check library version and handle library load errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix BrowserStartupControllerTest Created 7 years, 1 month 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_list.h
diff --git a/content/public/common/result_codes_list.h b/content/public/common/result_codes_list.h
index 9f6453b1c0e4e0c2ff9857a6ac4f82d9046a45e9..5a79f754dba9698011cca6e0d340ac2728749c1e 100644
--- a/content/public/common/result_codes_list.h
+++ b/content/public/common/result_codes_list.h
@@ -35,4 +35,10 @@ RESULT_CODE(FAILED_TO_REGISTER_JNI, 4)
// Failed to find and load the native library.
RESULT_CODE(NATIVE_LIBRARY_LOAD_FAILED, 5)
+
+// Wrong version of library loaded
+RESULT_CODE(NATIVE_LIBRARY_WRONG_VERSION, 6)
+
+// Native library startup failed
+RESULT_CODE(NATIVE_STARTUP_FAILED, 7)
#endif

Powered by Google App Engine
This is Rietveld 408576698