Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_COMMON_RESULT_CODES_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_RESULT_CODES_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_RESULT_CODES_H_ | 6 #define CONTENT_PUBLIC_COMMON_RESULT_CODES_H_ |
| 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 10 matching lines...) Expand all Loading... | |
| 21 // Process terminated normally. | 21 // Process terminated normally. |
| 22 RESULT_CODE_NORMAL_EXIT = 0, | 22 RESULT_CODE_NORMAL_EXIT = 0, |
| 23 | 23 |
| 24 // Process was killed by user or system. | 24 // Process was killed by user or system. |
| 25 RESULT_CODE_KILLED = 1, | 25 RESULT_CODE_KILLED = 1, |
| 26 | 26 |
| 27 // Process hung. | 27 // Process hung. |
| 28 RESULT_CODE_HUNG = 2, | 28 RESULT_CODE_HUNG = 2, |
| 29 | 29 |
| 30 // A bad message caused the process termination. | 30 // A bad message caused the process termination. |
| 31 RESULT_CODE_KILLED_BAD_MESSAGE, | 31 RESULT_CODE_KILLED_BAD_MESSAGE = 3, |
| 32 | |
| 33 #if defined(OS_ANDROID) | |
| 34 // Failed to register JNI methods. | |
| 35 RESULT_CODE_FAILED_TO_REG_JNI = 4, | |
|
Yaron
2013/01/08 00:54:22
*_REGISTER_*
michaelbai
2013/01/08 18:06:49
Done.
| |
| 36 #endif | |
| 32 | 37 |
| 33 // Last return code (keep this last). | 38 // Last return code (keep this last). |
| 34 RESULT_CODE_LAST_CODE | 39 RESULT_CODE_LAST_CODE |
| 35 }; | 40 }; |
| 36 | 41 |
| 37 } // namespace content | 42 } // namespace content |
| 38 | 43 |
| 39 #endif // CONTENT_PUBLIC_COMMON_RESULT_CODES_H_ | 44 #endif // CONTENT_PUBLIC_COMMON_RESULT_CODES_H_ |
| OLD | NEW |