1 // Copyright 2015 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/cert/merkle_consistency_proof.h" 6 7 namespace net::ct { 8 9 MerkleConsistencyProof::MerkleConsistencyProof() = default; 10 MerkleConsistencyProof(const std::string & log_id,const std::vector<std::string> & proof_nodes,uint64_t old_size,uint64_t new_size)11MerkleConsistencyProof::MerkleConsistencyProof( 12 const std::string& log_id, 13 const std::vector<std::string>& proof_nodes, 14 uint64_t old_size, 15 uint64_t new_size) 16 : log_id(log_id), 17 nodes(proof_nodes), 18 first_tree_size(old_size), 19 second_tree_size(new_size) {} 20 21 MerkleConsistencyProof::~MerkleConsistencyProof() = default; 22 23 } // namespace net::ct 24