OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Note that the embedder is welcome to persist these values across |
| 6 // invocations of the browser, and possibly across browser versions. |
| 7 // Thus individual errors may be deprecated and new errors added, but |
| 8 // the values of particular errors should not be changed. |
5 | 9 |
6 // File errors. | 10 // File errors. |
7 | 11 |
8 // Generic file operation failure. | 12 // Generic file operation failure. |
9 // "File Error". | 13 // "File Error". |
10 INTERRUPT_REASON(FILE_FAILED, 1) | 14 INTERRUPT_REASON(FILE_FAILED, 1) |
11 | 15 |
12 // The file cannot be accessed due to security restrictions. | 16 // The file cannot be accessed due to security restrictions. |
13 // The file cannot be accessed. | 17 // The file cannot be accessed. |
14 // "Access Denied". | 18 // "Access Denied". |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // The user shut down the browser. | 95 // The user shut down the browser. |
92 // Internal use only: resume pending downloads if possible. | 96 // Internal use only: resume pending downloads if possible. |
93 INTERRUPT_REASON(USER_SHUTDOWN, 41) | 97 INTERRUPT_REASON(USER_SHUTDOWN, 41) |
94 | 98 |
95 | 99 |
96 // Crash. | 100 // Crash. |
97 | 101 |
98 // The browser crashed. | 102 // The browser crashed. |
99 // Internal use only: resume pending downloads if possible. | 103 // Internal use only: resume pending downloads if possible. |
100 INTERRUPT_REASON(CRASH, 50) | 104 INTERRUPT_REASON(CRASH, 50) |
OLD | NEW |