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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 bool did_defer_; | 75 bool did_defer_; |
76 | 76 |
77 bool has_checked_for_sufficient_resources_; | 77 bool has_checked_for_sufficient_resources_; |
78 bool sent_received_response_msg_; | 78 bool sent_received_response_msg_; |
79 bool sent_first_data_msg_; | 79 bool sent_first_data_msg_; |
80 | 80 |
81 uint64 last_upload_position_; | 81 uint64 last_upload_position_; |
82 bool waiting_for_upload_progress_ack_; | 82 bool waiting_for_upload_progress_ack_; |
83 base::TimeTicks last_upload_ticks_; | 83 base::TimeTicks last_upload_ticks_; |
84 base::RepeatingTimer<AsyncResourceHandler> progress_timer_; | 84 base::RepeatingTimer progress_timer_; |
85 | 85 |
86 int64_t reported_transfer_size_; | 86 int64_t reported_transfer_size_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); | 88 DISALLOW_COPY_AND_ASSIGN(AsyncResourceHandler); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace content | 91 } // namespace content |
92 | 92 |
93 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ | 93 #endif // CONTENT_BROWSER_LOADER_ASYNC_RESOURCE_HANDLER_H_ |
OLD | NEW |