Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: content/browser/loader/async_resource_handler.h

Issue 2506363005: Send encoded_body_length to renderer when response completed (3/3) (Closed)
Patch Set: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/loader/async_resource_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/loader/async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698