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

Side by Side Diff: content/browser/loader/resource_request_info_impl.cc

Issue 648803002: Fix outstanding request stats for multiple transfer navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Track count on request info Created 6 years, 2 months 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
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 #include "content/browser/loader/resource_request_info_impl.h" 5 #include "content/browser/loader/resource_request_info_impl.h"
6 6
7 #include "content/browser/loader/global_routing_id.h" 7 #include "content/browser/loader/global_routing_id.h"
8 #include "content/browser/loader/resource_message_filter.h" 8 #include "content/browser/loader/resource_message_filter.h"
9 #include "content/common/net/url_request_user_data.h" 9 #include "content/common/net/url_request_user_data.h"
10 #include "content/public/browser/global_request_id.h" 10 #include "content/public/browser/global_request_id.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 is_main_frame_(is_main_frame), 120 is_main_frame_(is_main_frame),
121 parent_is_main_frame_(parent_is_main_frame), 121 parent_is_main_frame_(parent_is_main_frame),
122 parent_render_frame_id_(parent_render_frame_id), 122 parent_render_frame_id_(parent_render_frame_id),
123 should_replace_current_entry_(should_replace_current_entry), 123 should_replace_current_entry_(should_replace_current_entry),
124 is_download_(is_download), 124 is_download_(is_download),
125 is_stream_(is_stream), 125 is_stream_(is_stream),
126 allow_download_(allow_download), 126 allow_download_(allow_download),
127 has_user_gesture_(has_user_gesture), 127 has_user_gesture_(has_user_gesture),
128 enable_load_timing_(enable_load_timing), 128 enable_load_timing_(enable_load_timing),
129 was_ignored_by_handler_(false), 129 was_ignored_by_handler_(false),
130 counted_as_in_flight_request_(false),
130 resource_type_(resource_type), 131 resource_type_(resource_type),
131 transition_type_(transition_type), 132 transition_type_(transition_type),
132 memory_cost_(0), 133 memory_cost_(0),
133 referrer_policy_(referrer_policy), 134 referrer_policy_(referrer_policy),
134 visibility_state_(visibility_state), 135 visibility_state_(visibility_state),
135 context_(context), 136 context_(context),
136 filter_(filter), 137 filter_(filter),
137 is_async_(is_async) { 138 is_async_(is_async) {
138 } 139 }
139 140
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 base::WeakPtr<ResourceMessageFilter> filter) { 255 base::WeakPtr<ResourceMessageFilter> filter) {
255 child_id_ = child_id; 256 child_id_ = child_id;
256 route_id_ = route_id; 257 route_id_ = route_id;
257 origin_pid_ = origin_pid; 258 origin_pid_ = origin_pid;
258 request_id_ = request_id; 259 request_id_ = request_id;
259 parent_render_frame_id_ = parent_render_frame_id; 260 parent_render_frame_id_ = parent_render_frame_id;
260 filter_ = filter; 261 filter_ = filter;
261 } 262 }
262 263
263 } // namespace content 264 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698