OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_RESULT_CODES_H_ | 5 #ifndef CONTENT_COMMON_RESULT_CODES_H_ |
6 #define CHROME_COMMON_RESULT_CODES_H_ | 6 #define CONTENT_COMMON_RESULT_CODES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
10 | 10 |
11 // This file consolidates all the return codes for the browser and renderer | 11 // This file consolidates all the return codes for the browser and renderer |
12 // process. The return code is the value that: | 12 // process. The return code is the value that: |
13 // a) is returned by main() or winmain(), or | 13 // a) is returned by main() or winmain(), or |
14 // b) specified in the call for ExitProcess() or TerminateProcess(), or | 14 // b) specified in the call for ExitProcess() or TerminateProcess(), or |
15 // c) the exception value that causes a process to terminate. | 15 // c) the exception value that causes a process to terminate. |
16 // | 16 // |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 PROFILE_IN_USE, // The profile was in use on another host. | 58 PROFILE_IN_USE, // The profile was in use on another host. |
59 | 59 |
60 UNINSTALL_EXTENSION_ERROR, // Failed to silently uninstall an extension. | 60 UNINSTALL_EXTENSION_ERROR, // Failed to silently uninstall an extension. |
61 PACK_EXTENSION_ERROR, // Failed to pack an extension via the cmd line. | 61 PACK_EXTENSION_ERROR, // Failed to pack an extension via the cmd line. |
62 | 62 |
63 EXIT_LAST_CODE // Last return code (keep it last). | 63 EXIT_LAST_CODE // Last return code (keep it last). |
64 }; | 64 }; |
65 }; | 65 }; |
66 | 66 |
67 #endif // CHROME_COMMON_RESULT_CODES_H_ | 67 #endif // CONTENT_COMMON_RESULT_CODES_H_ |
OLD | NEW |