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

Side by Side Diff: content/public/common/resource_response_info.h

Issue 1772603002: Addition of Certificate Transparency details to Security panel of DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed SignedCertificateTimestampStore and SignedCertificateTimestampIDStatus(List) Created 4 years, 9 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
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 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 6 #define CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "content/common/content_export.h" 15 #include "content/common/content_export.h"
16 #include "content/public/common/resource_devtools_info.h" 16 #include "content/public/common/resource_devtools_info.h"
17 #include "net/base/host_port_pair.h" 17 #include "net/base/host_port_pair.h"
18 #include "net/base/load_timing_info.h" 18 #include "net/base/load_timing_info.h"
19 #include "net/http/http_response_headers.h" 19 #include "net/http/http_response_headers.h"
20 #include "net/http/http_response_info.h" 20 #include "net/http/http_response_info.h"
21 #include "net/ssl/signed_certificate_timestamp_and_status.h"
21 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerResponseType.h" 22 #include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWor kerResponseType.h"
22 #include "url/gurl.h" 23 #include "url/gurl.h"
23 24
24 namespace content { 25 namespace content {
25 26
26 // Note: when modifying this structure, also update ResourceResponse::DeepCopy 27 // Note: when modifying this structure, also update ResourceResponse::DeepCopy
27 // in resource_response.cc. 28 // in resource_response.cc.
28 struct ResourceResponseInfo { 29 struct ResourceResponseInfo {
29 CONTENT_EXPORT ResourceResponseInfo(); 30 CONTENT_EXPORT ResourceResponseInfo();
30 CONTENT_EXPORT ResourceResponseInfo(const ResourceResponseInfo& other); 31 CONTENT_EXPORT ResourceResponseInfo(const ResourceResponseInfo& other);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 131 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
131 base::TimeTicks service_worker_start_time; 132 base::TimeTicks service_worker_start_time;
132 133
133 // The time immediately before dispatching fetch event in ServiceWorker. 134 // The time immediately before dispatching fetch event in ServiceWorker.
134 // If the response is not provided by the ServiceWorker, kept empty. 135 // If the response is not provided by the ServiceWorker, kept empty.
135 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 136 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
136 base::TimeTicks service_worker_ready_time; 137 base::TimeTicks service_worker_ready_time;
137 138
138 // Whether or not the request was for a LoFi version of the resource. 139 // Whether or not the request was for a LoFi version of the resource.
139 bool is_using_lofi; 140 bool is_using_lofi;
141
142 // List of Signed Certificate Timestamps (SCTs) and their corresponding
143 // validation status.
144 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
140 }; 145 };
141 146
142 } // namespace content 147 } // namespace content
143 148
144 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 149 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698