| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Intentionally no include guards because this file is meant to be included | 5 // Intentionally no include guards because this file is meant to be included |
| 6 // inside a macro to generate enum values. | 6 // inside a macro to generate enum values. |
| 7 | 7 |
| 8 // This file consolidates all the return codes for the browser and renderer | 8 // This file consolidates all the return codes for the browser and renderer |
| 9 // process. The return code is the value that: | 9 // process. The return code is the value that: |
| 10 // a) is returned by main() or winmain(), or | 10 // a) is returned by main() or winmain(), or |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 // A bad message caused the process termination. | 29 // A bad message caused the process termination. |
| 30 RESULT_CODE(KILLED_BAD_MESSAGE, 3) | 30 RESULT_CODE(KILLED_BAD_MESSAGE, 3) |
| 31 | 31 |
| 32 #if defined(OS_ANDROID) | 32 #if defined(OS_ANDROID) |
| 33 // Failed to register JNI methods. | 33 // Failed to register JNI methods. |
| 34 RESULT_CODE(FAILED_TO_REGISTER_JNI, 4) | 34 RESULT_CODE(FAILED_TO_REGISTER_JNI, 4) |
| 35 | 35 |
| 36 // Failed to find and load the native library. | 36 // Failed to find and load the native library. |
| 37 RESULT_CODE(NATIVE_LIBRARY_LOAD_FAILED, 5) | 37 RESULT_CODE(NATIVE_LIBRARY_LOAD_FAILED, 5) |
| 38 |
| 39 // Wrong version of library loaded |
| 40 RESULT_CODE(NATIVE_LIBRARY_WRONG_VERSION, 6) |
| 38 #endif | 41 #endif |
| OLD | NEW |