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 CHROME_COMMON_CHROME_RESULT_CODES_H_ | 5 #ifndef CHROME_COMMON_CHROME_RESULT_CODES_H_ |
6 #define CHROME_COMMON_CHROME_RESULT_CODES_H_ | 6 #define CHROME_COMMON_CHROME_RESULT_CODES_H_ |
7 | 7 |
8 #include "content/public/common/result_codes.h" | 8 #include "content/public/common/result_codes.h" |
9 | 9 |
10 namespace chrome { | 10 namespace chrome { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
70 | 70 |
71 // The browser process exited early by passing the command line to another | 71 // The browser process exited early by passing the command line to another |
72 // running browser. | 72 // running browser. |
73 RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED, | 73 RESULT_CODE_NORMAL_EXIT_PROCESS_NOTIFIED, |
74 | 74 |
75 // A dummy value we should not use. See crbug.com/152285. | 75 // A dummy value we should not use. See crbug.com/152285. |
76 RESULT_CODE_NOTUSED_1, | 76 RESULT_CODE_NOTUSED_1, |
77 | 77 |
78 // Failed to install an item from the webstore when the | 78 // Failed to install an item from the webstore when the |
79 // kInstallEphemeralAppFromWebstore command line flag was present. | 79 // kInstallEphemeralAppFromWebstore command line flag was present. |
80 // As this flag is no longer supported, this return code should never be | |
81 // returned. | |
80 RESULT_CODE_INSTALL_FROM_WEBSTORE_ERROR_2, | 82 RESULT_CODE_INSTALL_FROM_WEBSTORE_ERROR_2, |
Lei Zhang
2015/08/19 22:40:27
Add NOTUSED to the name like the ones above/below?
benwells
2015/08/20 01:34:27
Done.
| |
81 | 83 |
82 // A dummy value we should not use. See crbug.com/152285. | 84 // A dummy value we should not use. See crbug.com/152285. |
83 RESULT_CODE_NOTUSED_2, | 85 RESULT_CODE_NOTUSED_2, |
84 | 86 |
85 // Returned when the user has not yet accepted the EULA. | 87 // Returned when the user has not yet accepted the EULA. |
86 RESULT_CODE_EULA_REFUSED, | 88 RESULT_CODE_EULA_REFUSED, |
87 | 89 |
88 // Failed to migrate user data directory for side-by-side package support | 90 // Failed to migrate user data directory for side-by-side package support |
89 // (Linux-only). | 91 // (Linux-only). |
90 RESULT_CODE_SXS_MIGRATION_FAILED, | 92 RESULT_CODE_SXS_MIGRATION_FAILED, |
91 | 93 |
92 // The action is not allowed by a policy. | 94 // The action is not allowed by a policy. |
93 RESULT_CODE_ACTION_DISALLOWED_BY_POLICY, | 95 RESULT_CODE_ACTION_DISALLOWED_BY_POLICY, |
94 | 96 |
95 // An browser process was sandboxed. This should never happen. | 97 // An browser process was sandboxed. This should never happen. |
96 RESULT_CODE_INVALID_SANDBOX_STATE, | 98 RESULT_CODE_INVALID_SANDBOX_STATE, |
97 | 99 |
98 // Last return code (keep this last). | 100 // Last return code (keep this last). |
99 RESULT_CODE_CHROME_LAST_CODE, | 101 RESULT_CODE_CHROME_LAST_CODE, |
100 }; | 102 }; |
101 | 103 |
102 } // namespace chrome | 104 } // namespace chrome |
103 | 105 |
104 #endif // CHROME_COMMON_CHROME_RESULT_CODES_H_ | 106 #endif // CHROME_COMMON_CHROME_RESULT_CODES_H_ |
OLD | NEW |