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

Unified Diff: content/common/resource_messages.h

Issue 1957483003: Removal of SignedCertificateTimestampStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed constructor of SSLStatus() Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/common/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 6397eb5abeadcf9babfd92cd8a3874765bb9452d..0618300625195a5f6bf89be9706778ac9d4e595a 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -20,7 +20,9 @@
#include "content/public/common/resource_response.h"
#include "ipc/ipc_message_macros.h"
#include "net/base/request_priority.h"
+#include "net/cert/signed_certificate_timestamp.h"
#include "net/http/http_response_info.h"
+#include "net/ssl/signed_certificate_timestamp_and_status.h"
#include "net/url_request/redirect_info.h"
#ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_
@@ -86,6 +88,16 @@ struct ParamTraits<scoped_refptr<content::ResourceRequestBody> > {
static void Log(const param_type& p, std::string* l);
};
+template <>
+struct ParamTraits<scoped_refptr<net::ct::SignedCertificateTimestamp> > {
+ typedef scoped_refptr<net::ct::SignedCertificateTimestamp> param_type;
+ static void Write(base::Pickle* m, const param_type& p);
+ static bool Read(const base::Pickle* m,
+ base::PickleIterator* iter,
+ param_type* r);
+ static void Log(const param_type& p, std::string* l);
+};
+
} // namespace IPC
#endif // CONTENT_COMMON_RESOURCE_MESSAGES_H_
@@ -153,6 +165,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseInfo)
IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name)
IPC_STRUCT_TRAITS_MEMBER(proxy_server)
IPC_STRUCT_TRAITS_MEMBER(is_using_lofi)
+ IPC_STRUCT_TRAITS_MEMBER(signed_certificate_timestamps)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo)
@@ -164,6 +177,13 @@ IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo)
IPC_STRUCT_TRAITS_MEMBER(referred_token_binding_host)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(net::SignedCertificateTimestampAndStatus)
+ IPC_STRUCT_TRAITS_MEMBER(sct)
+ IPC_STRUCT_TRAITS_MEMBER(status)
+IPC_STRUCT_TRAITS_END()
+
+IPC_ENUM_TRAITS_MAX_VALUE(net::ct::SCTVerifyStatus, net::ct::SCT_STATUS_MAX)
+
// Parameters for a resource request.
IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// The request method: GET, POST, etc.

Powered by Google App Engine
This is Rietveld 408576698