OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ | 5 #ifndef CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
6 #define CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ | 6 #define CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... | |
26 bool was_ignored_by_handler = false; | 26 bool was_ignored_by_handler = false; |
27 | 27 |
28 // A copy of the data requested exists in the cache. | 28 // A copy of the data requested exists in the cache. |
29 bool exists_in_cache = false; | 29 bool exists_in_cache = false; |
30 | 30 |
31 // Time the request completed. | 31 // Time the request completed. |
32 base::TimeTicks completion_time; | 32 base::TimeTicks completion_time; |
33 | 33 |
34 // Total amount of data received from the network. | 34 // Total amount of data received from the network. |
35 int64_t encoded_data_length = 0; | 35 int64_t encoded_data_length = 0; |
36 | |
37 // Total amount of the response body in the encoded format. | |
Adam Rice
2016/11/21 04:26:48
This is a little hard to understand. I suggest jus
yhirano
2016/11/21 06:40:27
Done.
| |
38 int64_t encoded_body_length = 0; | |
36 }; | 39 }; |
37 | 40 |
38 } // namespace content | 41 } // namespace content |
39 | 42 |
40 #endif // CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ | 43 #endif // CONTENT_COMMON_RESOURCE_REQUEST_COMPLETION_STATUS_H_ |
OLD | NEW |