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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // The user shut down the browser. | 122 // The user shut down the browser. |
123 // Internal use only: resume pending downloads if possible. | 123 // Internal use only: resume pending downloads if possible. |
124 INTERRUPT_REASON(USER_SHUTDOWN, 41) | 124 INTERRUPT_REASON(USER_SHUTDOWN, 41) |
125 | 125 |
126 | 126 |
127 // Crash. | 127 // Crash. |
128 | 128 |
129 // The browser crashed. | 129 // The browser crashed. |
130 // Internal use only: resume pending downloads if possible. | 130 // Internal use only: resume pending downloads if possible. |
131 INTERRUPT_REASON(CRASH, 50) | 131 INTERRUPT_REASON(CRASH, 50) |
| 132 |
| 133 |
| 134 // Page downloads handoff to OfflinePages. |
| 135 |
| 136 // The mime type of the resource indicates it's a web page. |
| 137 INTERRUPT_REASON(PAGE_DOWNLOAD_HANDOFF, 60) |
OLD | NEW |