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

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

Issue 2092993002: Browser process changes for Resource Timing sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Method renames Created 4 years, 5 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>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // True if the resource was loaded in spite of certificate errors. 57 // True if the resource was loaded in spite of certificate errors.
58 bool has_major_certificate_errors; 58 bool has_major_certificate_errors;
59 59
60 // Content length if available. -1 if not available 60 // Content length if available. -1 if not available
61 int64_t content_length; 61 int64_t content_length;
62 62
63 // Length of the encoded data transferred over the network. In case there is 63 // Length of the encoded data transferred over the network. In case there is
64 // no data, contains -1. 64 // no data, contains -1.
65 int64_t encoded_data_length; 65 int64_t encoded_data_length;
66 66
67 // Length of the response body data before decompression. -1 unless the body
68 // has been read to the end.
69 int64_t encoded_body_length;
70
67 // The appcache this response was loaded from, or kAppCacheNoCacheId. 71 // The appcache this response was loaded from, or kAppCacheNoCacheId.
68 int64_t appcache_id; 72 int64_t appcache_id;
69 73
70 // The manifest url of the appcache this response was loaded from. 74 // The manifest url of the appcache this response was loaded from.
71 // Note: this value is only populated for main resource requests. 75 // Note: this value is only populated for main resource requests.
72 GURL appcache_manifest_url; 76 GURL appcache_manifest_url;
73 77
74 // Detailed timing information used by the WebTiming, HAR and Developer 78 // Detailed timing information used by the WebTiming, HAR and Developer
75 // Tools. Includes socket ID and socket reuse information. 79 // Tools. Includes socket ID and socket reuse information.
76 net::LoadTimingInfo load_timing; 80 net::LoadTimingInfo load_timing;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps; 163 net::SignedCertificateTimestampAndStatusList signed_certificate_timestamps;
160 164
161 // In case this is a CORS response fetched by a ServiceWorker, this is the 165 // In case this is a CORS response fetched by a ServiceWorker, this is the
162 // set of headers that should be exposed. 166 // set of headers that should be exposed.
163 std::vector<std::string> cors_exposed_header_names; 167 std::vector<std::string> cors_exposed_header_names;
164 }; 168 };
165 169
166 } // namespace content 170 } // namespace content
167 171
168 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 172 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698