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

Side by Side Diff: content/public/common/result_codes_list.h

Issue 152663002: Remove shim classes etc. that were needed to move Android Loader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveLibraryLoader
Patch Set: Rebase to landed versions of predecessor CLs. Created 6 years, 10 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 unified diff | Download patch
« no previous file with comments | « content/public/android/java/src/org/chromium/content/common/TraceEvent.java ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10 matching lines...) Expand all
21 RESULT_CODE(NORMAL_EXIT, 0) 21 RESULT_CODE(NORMAL_EXIT, 0)
22 22
23 // Process was killed by user or system. 23 // Process was killed by user or system.
24 RESULT_CODE(KILLED, 1) 24 RESULT_CODE(KILLED, 1)
25 25
26 // Process hung. 26 // Process hung.
27 RESULT_CODE(HUNG, 2) 27 RESULT_CODE(HUNG, 2)
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
32 #if defined(OS_ANDROID)
33 // Failed to register JNI methods.
34 RESULT_CODE(FAILED_TO_REGISTER_JNI, 4)
35
36 // Failed to find and load the native library.
37 RESULT_CODE(NATIVE_LIBRARY_LOAD_FAILED, 5)
38
39 // Wrong version of library loaded
40 RESULT_CODE(NATIVE_LIBRARY_WRONG_VERSION, 6)
41
42 // Native library startup failed
43 RESULT_CODE(NATIVE_STARTUP_FAILED, 7)
44 #endif
OLDNEW
« no previous file with comments | « content/public/android/java/src/org/chromium/content/common/TraceEvent.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698