| Index: components/certificate_transparency/log_dns_client.h
|
| diff --git a/components/certificate_transparency/log_dns_client.h b/components/certificate_transparency/log_dns_client.h
|
| index ded22255d2dce5fb5454efa03545ed6946cb4935..f3966a8d2b2170447144d303374e1e250840315c 100644
|
| --- a/components/certificate_transparency/log_dns_client.h
|
| +++ b/components/certificate_transparency/log_dns_client.h
|
| @@ -67,29 +67,27 @@ class LogDnsClient : public net::NetworkChangeNotifier::DNSObserver {
|
| // suffix for all queries.
|
| // The |leaf_hash| is the SHA-256 Merkle leaf hash (see RFC6962, section 2.1).
|
| // The size of the CT log tree, for which the proof is requested, must be
|
| // provided in |tree_size|.
|
| // The leaf index and audit proof obtained from the CT log will be placed in
|
| - // |proof|.
|
| + // |out_proof|.
|
| // If the proof cannot be obtained synchronously, this method will return
|
| // net::ERR_IO_PENDING and invoke |callback| once the query is complete.
|
| // Returns:
|
| // - net::OK if the query was successful.
|
| // - net::ERR_IO_PENDING if the query was successfully started and is
|
| // continuing asynchronously.
|
| // - net::ERR_TEMPORARILY_THROTTLED if the maximum number of concurrent
|
| // queries are already in progress. Try again later.
|
| - // TODO(robpercival): Provide a mechanism to notify the caller when no
|
| - // longer throttled.
|
| // - net::ERR_NAME_RESOLUTION_FAILED if DNS queries are not possible.
|
| // Check that the DnsConfig returned by NetworkChangeNotifier is valid.
|
| // - net::ERR_INVALID_ARGUMENT if an argument is invalid, e.g. |leaf_hash| is
|
| // not a SHA-256 hash.
|
| net::Error QueryAuditProof(base::StringPiece domain_for_log,
|
| std::string leaf_hash,
|
| uint64_t tree_size,
|
| - net::ct::MerkleAuditProof* proof,
|
| + net::ct::MerkleAuditProof* out_proof,
|
| const net::CompletionCallback& callback);
|
|
|
| private:
|
| class AuditProofQuery;
|
|
|
|
|