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

Side by Side Diff: content/public/common/resource_response.cc

Issue 691323002: Revert "Make the proxy server HostPortPair available in document_state so that" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/common/resource_messages.h ('k') | content/public/common/resource_response_info.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/public/common/resource_response.h" 5 #include "content/public/common/resource_response.h"
6 6
7 #include "net/http/http_response_headers.h" 7 #include "net/http/http_response_headers.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 16 matching lines...) Expand all
27 if (head.devtools_info.get()) { 27 if (head.devtools_info.get()) {
28 new_response->head.devtools_info = head.devtools_info->DeepCopy(); 28 new_response->head.devtools_info = head.devtools_info->DeepCopy();
29 } 29 }
30 new_response->head.download_file_path = head.download_file_path; 30 new_response->head.download_file_path = head.download_file_path;
31 new_response->head.was_fetched_via_spdy = head.was_fetched_via_spdy; 31 new_response->head.was_fetched_via_spdy = head.was_fetched_via_spdy;
32 new_response->head.was_npn_negotiated = head.was_npn_negotiated; 32 new_response->head.was_npn_negotiated = head.was_npn_negotiated;
33 new_response->head.was_alternate_protocol_available = 33 new_response->head.was_alternate_protocol_available =
34 new_response->head.was_alternate_protocol_available; 34 new_response->head.was_alternate_protocol_available;
35 new_response->head.connection_info = head.connection_info; 35 new_response->head.connection_info = head.connection_info;
36 new_response->head.was_fetched_via_proxy = head.was_fetched_via_proxy; 36 new_response->head.was_fetched_via_proxy = head.was_fetched_via_proxy;
37 new_response->head.proxy_server = head.proxy_server;
38 new_response->head.npn_negotiated_protocol = head.npn_negotiated_protocol; 37 new_response->head.npn_negotiated_protocol = head.npn_negotiated_protocol;
39 new_response->head.socket_address = head.socket_address; 38 new_response->head.socket_address = head.socket_address;
40 new_response->head.was_fetched_via_service_worker = 39 new_response->head.was_fetched_via_service_worker =
41 head.was_fetched_via_service_worker; 40 head.was_fetched_via_service_worker;
42 new_response->head.was_fallback_required_by_service_worker = 41 new_response->head.was_fallback_required_by_service_worker =
43 head.was_fallback_required_by_service_worker; 42 head.was_fallback_required_by_service_worker;
44 new_response->head.original_url_via_service_worker = 43 new_response->head.original_url_via_service_worker =
45 head.original_url_via_service_worker; 44 head.original_url_via_service_worker;
46 new_response->head.response_type_via_service_worker = 45 new_response->head.response_type_via_service_worker =
47 head.response_type_via_service_worker; 46 head.response_type_via_service_worker;
48 new_response->head.service_worker_fetch_start = 47 new_response->head.service_worker_fetch_start =
49 head.service_worker_fetch_start; 48 head.service_worker_fetch_start;
50 new_response->head.service_worker_fetch_ready = 49 new_response->head.service_worker_fetch_ready =
51 head.service_worker_fetch_ready; 50 head.service_worker_fetch_ready;
52 new_response->head.service_worker_fetch_end = head.service_worker_fetch_end; 51 new_response->head.service_worker_fetch_end = head.service_worker_fetch_end;
53 return new_response; 52 return new_response;
54 } 53 }
55 54
56 } // namespace content 55 } // namespace content
OLDNEW
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/common/resource_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698