| 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 | 5 // Note that the embedder is welcome to persist these values across |
| 6 // invocations of the browser, and possibly across browser versions. | 6 // invocations of the browser, and possibly across browser versions. |
| 7 // Thus individual errors may be deprecated and new errors added, but | 7 // Thus individual errors may be deprecated and new errors added, but |
| 8 // the values of particular errors should not be changed. | 8 // the values of particular errors should not be changed. |
| 9 | 9 |
| 10 // File errors. | 10 // File errors. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 // Server didn't authorize access to resource. | 100 // Server didn't authorize access to resource. |
| 101 INTERRUPT_REASON(SERVER_UNAUTHORIZED, 34) | 101 INTERRUPT_REASON(SERVER_UNAUTHORIZED, 34) |
| 102 | 102 |
| 103 // Server certificate problem. | 103 // Server certificate problem. |
| 104 INTERRUPT_REASON(SERVER_CERT_PROBLEM, 35) | 104 INTERRUPT_REASON(SERVER_CERT_PROBLEM, 35) |
| 105 | 105 |
| 106 // Server access forbidden. | 106 // Server access forbidden. |
| 107 INTERRUPT_REASON(SERVER_FORBIDDEN, 36) | 107 INTERRUPT_REASON(SERVER_FORBIDDEN, 36) |
| 108 | 108 |
| 109 // Unexpected server response. This might indicate that the responding server |
| 110 // may not be the intended server. |
| 111 INTERRUPT_REASON(SERVER_UNREACHABLE, 37) |
| 112 |
| 109 // User input. | 113 // User input. |
| 110 | 114 |
| 111 // The user canceled the download. | 115 // The user canceled the download. |
| 112 // "Canceled". | 116 // "Canceled". |
| 113 INTERRUPT_REASON(USER_CANCELED, 40) | 117 INTERRUPT_REASON(USER_CANCELED, 40) |
| 114 | 118 |
| 115 // The user shut down the browser. | 119 // The user shut down the browser. |
| 116 // Internal use only: resume pending downloads if possible. | 120 // Internal use only: resume pending downloads if possible. |
| 117 INTERRUPT_REASON(USER_SHUTDOWN, 41) | 121 INTERRUPT_REASON(USER_SHUTDOWN, 41) |
| 118 | 122 |
| 119 | 123 |
| 120 // Crash. | 124 // Crash. |
| 121 | 125 |
| 122 // The browser crashed. | 126 // The browser crashed. |
| 123 // Internal use only: resume pending downloads if possible. | 127 // Internal use only: resume pending downloads if possible. |
| 124 INTERRUPT_REASON(CRASH, 50) | 128 INTERRUPT_REASON(CRASH, 50) |
| OLD | NEW |