| 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 | 5 |
| 6 // File errors. | 6 // File errors. |
| 7 | 7 |
| 8 // Generic file operation failure. | 8 // Generic file operation failure. |
| 9 // "File Error". | 9 // "File Error". |
| 10 INTERRUPT_REASON(FILE_FAILED, 1) | 10 INTERRUPT_REASON(FILE_FAILED, 1) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // The file contains a virus. | 29 // The file contains a virus. |
| 30 // "Virus". | 30 // "Virus". |
| 31 INTERRUPT_REASON(FILE_VIRUS_INFECTED, 7) | 31 INTERRUPT_REASON(FILE_VIRUS_INFECTED, 7) |
| 32 | 32 |
| 33 // The file was in use. | 33 // The file was in use. |
| 34 // Too many files are opened at once. | 34 // Too many files are opened at once. |
| 35 // We have run out of memory. | 35 // We have run out of memory. |
| 36 // "Temporary Problem". | 36 // "Temporary Problem". |
| 37 INTERRUPT_REASON(FILE_TRANSIENT_ERROR, 10) | 37 INTERRUPT_REASON(FILE_TRANSIENT_ERROR, 10) |
| 38 | 38 |
| 39 // The file was blocked due to local policy. |
| 40 // "Blocked" |
| 41 INTERRUPT_REASON(FILE_BLOCKED, 11) |
| 42 |
| 43 // An attempt to check the safety of the download failed due to unexpected |
| 44 // reasons. See http://crbug.com/153212. |
| 45 INTERRUPT_REASON(FILE_SECURITY_CHECK_FAILED, 12) |
| 39 | 46 |
| 40 // Network errors. | 47 // Network errors. |
| 41 | 48 |
| 42 // Generic network failure. | 49 // Generic network failure. |
| 43 // "Network Error". | 50 // "Network Error". |
| 44 INTERRUPT_REASON(NETWORK_FAILED, 20) | 51 INTERRUPT_REASON(NETWORK_FAILED, 20) |
| 45 | 52 |
| 46 // The network operation timed out. | 53 // The network operation timed out. |
| 47 // "Operation Timed Out". | 54 // "Operation Timed Out". |
| 48 INTERRUPT_REASON(NETWORK_TIMEOUT, 21) | 55 INTERRUPT_REASON(NETWORK_TIMEOUT, 21) |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 // The user shut down the browser. | 91 // The user shut down the browser. |
| 85 // Internal use only: resume pending downloads if possible. | 92 // Internal use only: resume pending downloads if possible. |
| 86 INTERRUPT_REASON(USER_SHUTDOWN, 41) | 93 INTERRUPT_REASON(USER_SHUTDOWN, 41) |
| 87 | 94 |
| 88 | 95 |
| 89 // Crash. | 96 // Crash. |
| 90 | 97 |
| 91 // The browser crashed. | 98 // The browser crashed. |
| 92 // Internal use only: resume pending downloads if possible. | 99 // Internal use only: resume pending downloads if possible. |
| 93 INTERRUPT_REASON(CRASH, 50) | 100 INTERRUPT_REASON(CRASH, 50) |
| OLD | NEW |