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

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

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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 | « content/public/common/resource_response.cc ('k') | content/renderer/render_frame_impl.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 #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>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // The response headers or NULL if the URL type does not support headers. 43 // The response headers or NULL if the URL type does not support headers.
44 scoped_refptr<net::HttpResponseHeaders> headers; 44 scoped_refptr<net::HttpResponseHeaders> headers;
45 45
46 // The mime type of the response. This may be a derived value. 46 // The mime type of the response. This may be a derived value.
47 std::string mime_type; 47 std::string mime_type;
48 48
49 // The character encoding of the response or none if not applicable to the 49 // The character encoding of the response or none if not applicable to the
50 // response's mime type. This may be a derived value. 50 // response's mime type. This may be a derived value.
51 std::string charset; 51 std::string charset;
52 52
53 // An opaque string carrying security information pertaining to this
54 // response. This may include information about the SSL connection used.
55 std::string security_info;
56
57 // True if the resource was loaded in spite of certificate errors. 53 // True if the resource was loaded in spite of certificate errors.
58 bool has_major_certificate_errors; 54 bool has_major_certificate_errors;
59 55
60 // Content length if available. -1 if not available 56 // Content length if available. -1 if not available
61 int64_t content_length; 57 int64_t content_length;
62 58
63 // Length of the encoded data transferred over the network. In case there is 59 // Length of the encoded data transferred over the network. In case there is
64 // no data, contains -1. 60 // no data, contains -1.
65 int64_t encoded_data_length; 61 int64_t encoded_data_length;
66 62
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; 176 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
181 177
182 // In case this is a CORS response fetched by a ServiceWorker, this is the 178 // In case this is a CORS response fetched by a ServiceWorker, this is the
183 // set of headers that should be exposed. 179 // set of headers that should be exposed.
184 std::vector<std::string> cors_exposed_header_names; 180 std::vector<std::string> cors_exposed_header_names;
185 }; 181 };
186 182
187 } // namespace content 183 } // namespace content
188 184
189 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 185 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698