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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_DNS_CLIENT_H_ 5 #ifndef COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_DNS_CLIENT_H_
6 #define COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_DNS_CLIENT_H_ 6 #define COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_DNS_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
11 #include <string> 11 #include <string>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/strings/string_piece.h" 15 #include "base/strings/string_piece.h"
16 #include "net/base/network_change_notifier.h" 16 #include "net/base/network_change_notifier.h"
17 #include "net/log/net_log.h" 17 #include "net/log/net_log_with_source.h"
18 18
19 namespace net { 19 namespace net {
20 class DnsClient; 20 class DnsClient;
21 class DnsResponse; 21 class DnsResponse;
22 class DnsTransaction; 22 class DnsTransaction;
23 namespace ct { 23 namespace ct {
24 struct MerkleAuditProof; 24 struct MerkleAuditProof;
25 } // namespace ct 25 } // namespace ct
26 } // namespace net 26 } // namespace net
27 27
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Audit proof queries that haven't completed yet. 127 // Audit proof queries that haven't completed yet.
128 std::list<Query<AuditProofCallback>> audit_proof_queries_; 128 std::list<Query<AuditProofCallback>> audit_proof_queries_;
129 // Creates weak_ptrs to this, for callback purposes. 129 // Creates weak_ptrs to this, for callback purposes.
130 base::WeakPtrFactory<LogDnsClient> weak_ptr_factory_; 130 base::WeakPtrFactory<LogDnsClient> weak_ptr_factory_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(LogDnsClient); 132 DISALLOW_COPY_AND_ASSIGN(LogDnsClient);
133 }; 133 };
134 134
135 } // namespace certificate_transparency 135 } // namespace certificate_transparency
136 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_DNS_CLIENT_H_ 136 #endif // COMPONENTS_CERTIFICATE_TRANSPARENCY_LOG_DNS_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698