OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ |
6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ | 6 #define CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 std::unique_ptr<InliningHelper> inlining_helper_; | 89 std::unique_ptr<InliningHelper> inlining_helper_; |
90 base::TimeTicks response_started_ticks_; | 90 base::TimeTicks response_started_ticks_; |
91 | 91 |
92 uint64_t last_upload_position_; | 92 uint64_t last_upload_position_; |
93 bool waiting_for_upload_progress_ack_; | 93 bool waiting_for_upload_progress_ack_; |
94 base::TimeTicks last_upload_ticks_; | 94 base::TimeTicks last_upload_ticks_; |
95 base::RepeatingTimer progress_timer_; | 95 base::RepeatingTimer progress_timer_; |
96 | 96 |
97 int64_t reported_transfer_size_; | 97 int64_t reported_transfer_size_; |
98 int64_t reported_encoded_body_length_; | |
99 | 98 |
100 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); | 99 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); |
101 }; | 100 }; |
102 | 101 |
103 } // namespace content | 102 } // namespace content |
104 | 103 |
105 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ | 104 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ |
OLD | NEW |