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

Unified Diff: net/cert/ct_signed_certificate_timestamp_log_param.h

Issue 86503002: Certificate Transparency: Logging SCTs to the NetLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing review comments Created 7 years, 1 month 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: net/cert/ct_signed_certificate_timestamp_log_param.h
diff --git a/net/cert/ct_signed_certificate_timestamp_log_param.h b/net/cert/ct_signed_certificate_timestamp_log_param.h
new file mode 100644
index 0000000000000000000000000000000000000000..d9d784fca5e1ed74b6e012c302f556e9aa2cb2d5
--- /dev/null
+++ b/net/cert/ct_signed_certificate_timestamp_log_param.h
@@ -0,0 +1,25 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_BASE_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
+#define NET_BASE_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
wtc 2013/11/27 16:00:58 The include guard macro's name needs to be updated
Eran M. (Google) 2013/11/27 22:08:50 Done.
+
+#include "net/base/net_log.h"
wtc 2013/11/27 16:00:58 Nit: Add a blank line after this line.
Eran M. (Google) 2013/11/27 22:08:50 Done.
+namespace net {
+
+namespace ct {
+struct CTVerifyResult;
+}
+
+base::Value* NetLogSignedCertificateTimestampCallback(
wtc 2013/11/27 16:00:58 Nit: should we document these two functions? Or ar
Eran M. (Google) 2013/11/27 22:08:50 Documented them, also referred to the documentatio
+ const ct::CTVerifyResult* ct_result, NetLog::LogLevel log_level);
+
+base::Value* NetLogRawSignedCertificateTimestampCallback(
+ const std::string* embedded_scts,
+ const std::string* sct_list_from_ocsp,
+ const std::string* sct_list_from_tls_extension,
+ NetLog::LogLevel log_level);
+} // namespace net
wtc 2013/11/27 16:00:58 Nit: Add a blank line before this line.
Eran M. (Google) 2013/11/27 22:08:50 Done.
+
+#endif // NET_BASE_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
wtc 2013/11/27 16:00:58 Nit: two spaces before "//", one space after "//".
Eran M. (Google) 2013/11/27 22:08:50 Almost got it right! Done.

Powered by Google App Engine
This is Rietveld 408576698