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

Side by Side Diff: third_party/WebKit/public/platform/WebURLResponse.h

Issue 1589703002: Surface SCT (Signed Certificate Timestamp) counts in the Security panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only send the SCT counts. Created 4 years, 10 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // A consumer controlled value intended to be used to record opaque 144 // A consumer controlled value intended to be used to record opaque
145 // security info related to this request. 145 // security info related to this request.
146 BLINK_PLATFORM_EXPORT WebCString securityInfo() const; 146 BLINK_PLATFORM_EXPORT WebCString securityInfo() const;
147 BLINK_PLATFORM_EXPORT void setSecurityInfo(const WebCString&); 147 BLINK_PLATFORM_EXPORT void setSecurityInfo(const WebCString&);
148 148
149 BLINK_PLATFORM_EXPORT void setHasMajorCertificateErrors(bool); 149 BLINK_PLATFORM_EXPORT void setHasMajorCertificateErrors(bool);
150 150
151 BLINK_PLATFORM_EXPORT SecurityStyle securityStyle() const; 151 BLINK_PLATFORM_EXPORT SecurityStyle securityStyle() const;
152 BLINK_PLATFORM_EXPORT void setSecurityStyle(SecurityStyle); 152 BLINK_PLATFORM_EXPORT void setSecurityStyle(SecurityStyle);
153 153
154 BLINK_PLATFORM_EXPORT void setSecurityDetails(const WebString& protocol, con st WebString& keyExchange, const WebString& cipher, const WebString& mac, int ce rtId); 154 BLINK_PLATFORM_EXPORT void setSecurityDetails(const WebString& protocol, con st WebString& keyExchange, const WebString& cipher, const WebString& mac, int ce rtId, size_t numUnknownScts, size_t numInvalidScts, size_t numValidScts);
pfeldman 2016/02/01 23:01:11 Introduce WebSecurityDetails struct?
lgarron 2016/02/02 03:17:08 Done.
155 155
156 #if INSIDE_BLINK 156 #if INSIDE_BLINK
157 BLINK_PLATFORM_EXPORT ResourceResponse& toMutableResourceResponse(); 157 BLINK_PLATFORM_EXPORT ResourceResponse& toMutableResourceResponse();
158 BLINK_PLATFORM_EXPORT const ResourceResponse& toResourceResponse() const; 158 BLINK_PLATFORM_EXPORT const ResourceResponse& toResourceResponse() const;
159 #endif 159 #endif
160 160
161 // Flag whether this request was served from the disk cache entry. 161 // Flag whether this request was served from the disk cache entry.
162 BLINK_PLATFORM_EXPORT bool wasCached() const; 162 BLINK_PLATFORM_EXPORT bool wasCached() const;
163 BLINK_PLATFORM_EXPORT void setWasCached(bool); 163 BLINK_PLATFORM_EXPORT void setWasCached(bool);
164 164
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 protected: 229 protected:
230 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*); 230 BLINK_PLATFORM_EXPORT void assign(WebURLResponsePrivate*);
231 231
232 private: 232 private:
233 WebURLResponsePrivate* m_private; 233 WebURLResponsePrivate* m_private;
234 }; 234 };
235 235
236 } // namespace blink 236 } // namespace blink
237 237
238 #endif 238 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698