OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 NET_BASE_LOAD_STATES_H__ | 5 #ifndef NET_BASE_LOAD_STATES_H__ |
6 #define NET_BASE_LOAD_STATES_H__ | 6 #define NET_BASE_LOAD_STATES_H__ |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 // These states correspond to the lengthy periods of time that a resource load | 10 // These states correspond to the lengthy periods of time that a resource load |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 // corresponds to the period after the request is sent and before all of the | 51 // corresponds to the period after the request is sent and before all of the |
52 // response headers have been received. | 52 // response headers have been received. |
53 LOAD_STATE_WAITING_FOR_RESPONSE, | 53 LOAD_STATE_WAITING_FOR_RESPONSE, |
54 | 54 |
55 // This state corresponds to a resource load that is blocked waiting for a | 55 // This state corresponds to a resource load that is blocked waiting for a |
56 // read to complete. In the case of a HTTP transaction, this corresponds to | 56 // read to complete. In the case of a HTTP transaction, this corresponds to |
57 // the period after the response headers have been received and before all of | 57 // the period after the response headers have been received and before all of |
58 // the response body has been downloaded. (NOTE: This state only applies for | 58 // the response body has been downloaded. (NOTE: This state only applies for |
59 // an URLRequest while there is an outstanding Read operation.) | 59 // an URLRequest while there is an outstanding Read operation.) |
60 LOAD_STATE_READING_RESPONSE, | 60 LOAD_STATE_READING_RESPONSE, |
| 61 |
| 62 // This state corresponds to a resource load that is suspended due to some |
| 63 // error and waiting for action by the user. |
| 64 LOAD_STATE_WAITING_FOR_USER_ACTION, |
61 }; | 65 }; |
62 | 66 |
63 } // namespace net | 67 } // namespace net |
64 | 68 |
65 #endif // NET_BASE_LOAD_STATES_H__ | 69 #endif // NET_BASE_LOAD_STATES_H__ |
OLD | NEW |