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

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

Issue 1415923015: Downgrade lock icon for broken-HTTPS subresources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove console message; see comment to mike Created 5 years 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 std::string mime_type; 43 std::string mime_type;
44 44
45 // The character encoding of the response or none if not applicable to the 45 // The character encoding of the response or none if not applicable to the
46 // response's mime type. This may be a derived value. 46 // response's mime type. This may be a derived value.
47 std::string charset; 47 std::string charset;
48 48
49 // An opaque string carrying security information pertaining to this 49 // An opaque string carrying security information pertaining to this
50 // response. This may include information about the SSL connection used. 50 // response. This may include information about the SSL connection used.
51 std::string security_info; 51 std::string security_info;
52 52
53 // True if the resource was loaded in spite of certificate errors.
54 bool has_major_certificate_errors;
55
53 // Content length if available. -1 if not available 56 // Content length if available. -1 if not available
54 int64 content_length; 57 int64 content_length;
55 58
56 // 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
57 // no data, contains -1. 60 // no data, contains -1.
58 int64 encoded_data_length; 61 int64 encoded_data_length;
59 62
60 // The appcache this response was loaded from, or kAppCacheNoCacheId. 63 // The appcache this response was loaded from, or kAppCacheNoCacheId.
61 int64 appcache_id; 64 int64 appcache_id;
62 65
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // TODO(ksakamoto): Move this to net::LoadTimingInfo. 133 // TODO(ksakamoto): Move this to net::LoadTimingInfo.
131 base::TimeTicks service_worker_ready_time; 134 base::TimeTicks service_worker_ready_time;
132 135
133 // Whether or not the request was for a LoFi version of the resource. 136 // Whether or not the request was for a LoFi version of the resource.
134 bool is_using_lofi; 137 bool is_using_lofi;
135 }; 138 };
136 139
137 } // namespace content 140 } // namespace content
138 141
139 #endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_ 142 #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