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

Side by Side Diff: components/certificate_transparency/log_response_parser.h

Issue 1100003006: Certificate Transparency: Fetching of Signed Tree Heads (DRAFT) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revised design, addressed some comments Created 5 years, 6 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_RESPONSE_PARSER_H_
6 #define COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_RESPONSE_PARSER_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string_piece.h"
10
11 namespace base {
12 class Value;
13 } // namespace base
14
15 namespace net {
16
17 namespace ct {
18 struct SignedTreeHead;
19 } // namespace ct
20
21 } // namespace net
22
23 namespace certificate_transparency {
24
25 class CTLogResponseParser {
26 public:
27 // Extracts STH from the JSON struct
28 static bool FillSignedTreeHead(scoped_ptr<base::Value> json,
29 net::ct::SignedTreeHead* sth);
30 };
31
32 } // namespace certificate_transparency
33
34 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698