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

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

Issue 2871303002: Add missing fields to ResourceResponse::DeepCopy (Closed)
Patch Set: add another note about updating DeepCopy Created 3 years, 7 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 | « no previous file | 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 new_response->head.was_fallback_required_by_service_worker = 44 new_response->head.was_fallback_required_by_service_worker =
45 head.was_fallback_required_by_service_worker; 45 head.was_fallback_required_by_service_worker;
46 new_response->head.url_list_via_service_worker = 46 new_response->head.url_list_via_service_worker =
47 head.url_list_via_service_worker; 47 head.url_list_via_service_worker;
48 new_response->head.response_type_via_service_worker = 48 new_response->head.response_type_via_service_worker =
49 head.response_type_via_service_worker; 49 head.response_type_via_service_worker;
50 new_response->head.service_worker_start_time = 50 new_response->head.service_worker_start_time =
51 head.service_worker_start_time; 51 head.service_worker_start_time;
52 new_response->head.service_worker_ready_time = 52 new_response->head.service_worker_ready_time =
53 head.service_worker_ready_time; 53 head.service_worker_ready_time;
54 new_response->head.is_in_cache_storage = head.is_in_cache_storage;
55 new_response->head.cache_storage_cache_name = head.cache_storage_cache_name;
54 new_response->head.previews_state = head.previews_state; 56 new_response->head.previews_state = head.previews_state;
55 new_response->head.effective_connection_type = head.effective_connection_type; 57 new_response->head.effective_connection_type = head.effective_connection_type;
58 new_response->head.certificate = head.certificate;
59 new_response->head.cert_status = head.cert_status;
60 new_response->head.ssl_connection_status = head.ssl_connection_status;
61 new_response->head.ssl_key_exchange_group = head.ssl_key_exchange_group;
56 new_response->head.signed_certificate_timestamps = 62 new_response->head.signed_certificate_timestamps =
57 head.signed_certificate_timestamps; 63 head.signed_certificate_timestamps;
58 new_response->head.cors_exposed_header_names = head.cors_exposed_header_names; 64 new_response->head.cors_exposed_header_names = head.cors_exposed_header_names;
59 new_response->head.did_service_worker_navigation_preload = 65 new_response->head.did_service_worker_navigation_preload =
60 head.did_service_worker_navigation_preload; 66 head.did_service_worker_navigation_preload;
61 return new_response; 67 return new_response;
62 } 68 }
63 69
64 } // namespace content 70 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/public/common/resource_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698