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

Side by Side Diff: content/child/resource_dispatcher.cc

Issue 2301893002: (Trivial) Remove duplicate assignments of encoded_data_length (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « content/browser/loader/async_resource_handler.cc ('k') | no next file » | 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc e-loading
6 6
7 #include "content/child/resource_dispatcher.h" 7 #include "content/child/resource_dispatcher.h"
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
610 return; 610 return;
611 } 611 }
612 612
613 response->error_code = result.error_code; 613 response->error_code = result.error_code;
614 response->url = result.final_url; 614 response->url = result.final_url;
615 response->headers = result.headers; 615 response->headers = result.headers;
616 response->mime_type = result.mime_type; 616 response->mime_type = result.mime_type;
617 response->charset = result.charset; 617 response->charset = result.charset;
618 response->request_time = result.request_time; 618 response->request_time = result.request_time;
619 response->response_time = result.response_time; 619 response->response_time = result.response_time;
620 response->encoded_data_length = result.encoded_data_length;
621 response->load_timing = result.load_timing; 620 response->load_timing = result.load_timing;
622 response->devtools_info = result.devtools_info; 621 response->devtools_info = result.devtools_info;
623 response->data.swap(result.data); 622 response->data.swap(result.data);
624 response->download_file_path = result.download_file_path; 623 response->download_file_path = result.download_file_path;
625 response->socket_address = result.socket_address; 624 response->socket_address = result.socket_address;
626 response->encoded_data_length = result.encoded_data_length; 625 response->encoded_data_length = result.encoded_data_length;
627 response->encoded_body_length = result.encoded_body_length; 626 response->encoded_body_length = result.encoded_body_length;
628 } 627 }
629 628
630 int ResourceDispatcher::StartAsync( 629 int ResourceDispatcher::StartAsync(
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
875 *frame_origin = extra_data->frame_origin(); 874 *frame_origin = extra_data->frame_origin();
876 return request; 875 return request;
877 } 876 }
878 877
879 void ResourceDispatcher::SetResourceSchedulingFilter( 878 void ResourceDispatcher::SetResourceSchedulingFilter(
880 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter) { 879 scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter) {
881 resource_scheduling_filter_ = resource_scheduling_filter; 880 resource_scheduling_filter_ = resource_scheduling_filter;
882 } 881 }
883 882
884 } // namespace content 883 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/async_resource_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698