| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 35 new_response->head.was_npn_negotiated = head.was_npn_negotiated; | 35 new_response->head.was_npn_negotiated = head.was_npn_negotiated; |
| 36 new_response->head.was_alternate_protocol_available = | 36 new_response->head.was_alternate_protocol_available = |
| 37 head.was_alternate_protocol_available; | 37 head.was_alternate_protocol_available; |
| 38 new_response->head.connection_info = head.connection_info; | 38 new_response->head.connection_info = head.connection_info; |
| 39 new_response->head.was_fetched_via_proxy = head.was_fetched_via_proxy; | 39 new_response->head.was_fetched_via_proxy = head.was_fetched_via_proxy; |
| 40 new_response->head.proxy_server = head.proxy_server; | 40 new_response->head.proxy_server = head.proxy_server; |
| 41 new_response->head.npn_negotiated_protocol = head.npn_negotiated_protocol; | 41 new_response->head.npn_negotiated_protocol = head.npn_negotiated_protocol; |
| 42 new_response->head.socket_address = head.socket_address; | 42 new_response->head.socket_address = head.socket_address; |
| 43 new_response->head.was_fetched_via_service_worker = | 43 new_response->head.was_fetched_via_service_worker = |
| 44 head.was_fetched_via_service_worker; | 44 head.was_fetched_via_service_worker; |
| 45 new_response->head.was_fetched_via_foreign_fetch = |
| 46 head.was_fetched_via_foreign_fetch; |
| 45 new_response->head.was_fallback_required_by_service_worker = | 47 new_response->head.was_fallback_required_by_service_worker = |
| 46 head.was_fallback_required_by_service_worker; | 48 head.was_fallback_required_by_service_worker; |
| 47 new_response->head.original_url_via_service_worker = | 49 new_response->head.original_url_via_service_worker = |
| 48 head.original_url_via_service_worker; | 50 head.original_url_via_service_worker; |
| 49 new_response->head.response_type_via_service_worker = | 51 new_response->head.response_type_via_service_worker = |
| 50 head.response_type_via_service_worker; | 52 head.response_type_via_service_worker; |
| 51 new_response->head.service_worker_start_time = | 53 new_response->head.service_worker_start_time = |
| 52 head.service_worker_start_time; | 54 head.service_worker_start_time; |
| 53 new_response->head.service_worker_ready_time = | 55 new_response->head.service_worker_ready_time = |
| 54 head.service_worker_ready_time; | 56 head.service_worker_ready_time; |
| 55 new_response->head.is_using_lofi = head.is_using_lofi; | 57 new_response->head.is_using_lofi = head.is_using_lofi; |
| 56 new_response->head.effective_connection_type = head.effective_connection_type; | 58 new_response->head.effective_connection_type = head.effective_connection_type; |
| 57 new_response->head.signed_certificate_timestamps = | 59 new_response->head.signed_certificate_timestamps = |
| 58 head.signed_certificate_timestamps; | 60 head.signed_certificate_timestamps; |
| 59 new_response->head.cors_exposed_header_names = head.cors_exposed_header_names; | 61 new_response->head.cors_exposed_header_names = head.cors_exposed_header_names; |
| 60 return new_response; | 62 return new_response; |
| 61 } | 63 } |
| 62 | 64 |
| 63 } // namespace content | 65 } // namespace content |
| OLD | NEW |