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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/common/resource_response_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response.cc
diff --git a/content/public/common/resource_response.cc b/content/public/common/resource_response.cc
index 44122e5da4ab8966b5275c0330eeba27415f4b92..52766e5262ed066b02aa9a4ea559e95fdbff9db8 100644
--- a/content/public/common/resource_response.cc
+++ b/content/public/common/resource_response.cc
@@ -51,8 +51,14 @@ scoped_refptr<ResourceResponse> ResourceResponse::DeepCopy() const {
head.service_worker_start_time;
new_response->head.service_worker_ready_time =
head.service_worker_ready_time;
+ new_response->head.is_in_cache_storage = head.is_in_cache_storage;
+ new_response->head.cache_storage_cache_name = head.cache_storage_cache_name;
new_response->head.previews_state = head.previews_state;
new_response->head.effective_connection_type = head.effective_connection_type;
+ new_response->head.certificate = head.certificate;
+ new_response->head.cert_status = head.cert_status;
+ new_response->head.ssl_connection_status = head.ssl_connection_status;
+ new_response->head.ssl_key_exchange_group = head.ssl_key_exchange_group;
new_response->head.signed_certificate_timestamps =
head.signed_certificate_timestamps;
new_response->head.cors_exposed_header_names = head.cors_exposed_header_names;
« 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