OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef NET_CERT_CT_LOG_RESPONSE_PARSER_H_ | |
6 #define NET_CERT_CT_LOG_RESPONSE_PARSER_H_ | |
7 | |
8 #include "base/strings/string_piece.h" | |
9 #include "net/base/net_export.h" | |
10 | |
11 namespace net { | |
12 | |
13 namespace ct { | |
14 struct SignedTreeHead; | |
15 | |
16 // Fills in |signed_tree_head| from its JSON representation in | |
17 // |json_signed_tree_head|. | |
18 // Returns true and fills in |signed_tree_head| if all fields are present and | |
19 // valid.Otherwise, returns false and does not modify |signed_tree_head|. | |
20 bool NET_EXPORT | |
21 FillSignedTreeHead(const base::StringPiece& json_signed_tree_head, | |
22 SignedTreeHead* signed_tree_head); | |
Ryan Sleevi
2014/04/25 23:33:19
Was this the format done by git-cl-format?
note t
Eran Messeri
2014/04/29 15:22:24
Done - re-ordered so NET_EXPORT is first.
| |
23 | |
24 } // namespace ct | |
25 | |
26 } // namespace net | |
27 #endif // NET_CERT_CT_LOG_RESPONSE_PARSER_H_ | |
OLD | NEW |