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

Side by Side Diff: net/dns/dns_transaction.h

Issue 2366893002: net: address review comments for NetLogWithSource renaming (Closed)
Patch Set: 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
« no previous file with comments | « net/cert/ct_verifier.h ('k') | net/dns/host_resolver.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 NET_DNS_DNS_TRANSACTION_H_ 5 #ifndef NET_DNS_DNS_TRANSACTION_H_
6 #define NET_DNS_DNS_TRANSACTION_H_ 6 #define NET_DNS_DNS_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "net/base/net_export.h" 15 #include "net/base/net_export.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 class NetLogWithSource;
20 class DnsResponse; 19 class DnsResponse;
21 class DnsSession; 20 class DnsSession;
21 class NetLogWithSource;
22 22
23 // DnsTransaction implements a stub DNS resolver as defined in RFC 1034. 23 // DnsTransaction implements a stub DNS resolver as defined in RFC 1034.
24 // The DnsTransaction takes care of retransmissions, name server fallback (or 24 // The DnsTransaction takes care of retransmissions, name server fallback (or
25 // round-robin), suffix search, and simple response validation ("does it match 25 // round-robin), suffix search, and simple response validation ("does it match
26 // the query") to fight poisoning. 26 // the query") to fight poisoning.
27 // 27 //
28 // Destroying DnsTransaction cancels the underlying network effort. 28 // Destroying DnsTransaction cancels the underlying network effort.
29 class NET_EXPORT_PRIVATE DnsTransaction { 29 class NET_EXPORT_PRIVATE DnsTransaction {
30 public: 30 public:
31 virtual ~DnsTransaction() {} 31 virtual ~DnsTransaction() {}
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Creates a DnsTransactionFactory which creates DnsTransactionImpl using the 71 // Creates a DnsTransactionFactory which creates DnsTransactionImpl using the
72 // |session|. 72 // |session|.
73 static std::unique_ptr<DnsTransactionFactory> CreateFactory( 73 static std::unique_ptr<DnsTransactionFactory> CreateFactory(
74 DnsSession* session) WARN_UNUSED_RESULT; 74 DnsSession* session) WARN_UNUSED_RESULT;
75 }; 75 };
76 76
77 } // namespace net 77 } // namespace net
78 78
79 #endif // NET_DNS_DNS_TRANSACTION_H_ 79 #endif // NET_DNS_DNS_TRANSACTION_H_
80 80
OLDNEW
« no previous file with comments | « net/cert/ct_verifier.h ('k') | net/dns/host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698