summaryrefslogtreecommitdiffstats
path: root/net/base/dnsrr_resolver.h
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-05-11 20:53:37 +0100
committerKristian Monsen <kristianm@google.com>2011-05-16 13:54:48 +0100
commit21d179b334e59e9a3bfcaed4c4430bef1bc5759d (patch)
tree64e2bb6da27af6a5c93ca34f6051584aafbfcb9e /net/base/dnsrr_resolver.h
parent0c63f00edd6ed0482fd5cbcea937ca088baf7858 (diff)
downloadexternal_chromium-21d179b334e59e9a3bfcaed4c4430bef1bc5759d.zip
external_chromium-21d179b334e59e9a3bfcaed4c4430bef1bc5759d.tar.gz
external_chromium-21d179b334e59e9a3bfcaed4c4430bef1bc5759d.tar.bz2
Merge Chromium at 10.0.621.0: Initial merge by git.
Change-Id: I070cc91c608dfa4a968a5a54c173260765ac8097
Diffstat (limited to 'net/base/dnsrr_resolver.h')
-rw-r--r--net/base/dnsrr_resolver.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/net/base/dnsrr_resolver.h b/net/base/dnsrr_resolver.h
index 64a1be5..30de5fe 100644
--- a/net/base/dnsrr_resolver.h
+++ b/net/base/dnsrr_resolver.h
@@ -19,8 +19,6 @@
#include "net/base/completion_callback.h"
#include "net/base/network_change_notifier.h"
-class MessageLoop;
-
namespace net {
// RRResponse contains the result of a successful request for a resource record.
@@ -57,7 +55,6 @@ struct RRResponse {
class BoundNetLog;
class RRResolverWorker;
class RRResolverJob;
-class RRResolverHandle;
// DnsRRResolver resolves arbitary DNS resource record types. It should not be
// confused with HostResolver and should not be used to resolve A/AAAA records.
@@ -117,11 +114,11 @@ class DnsRRResolver : public NonThreadSafe,
void HandleResult(const std::string& name, uint16 rrtype, int result,
const RRResponse& response);
- // cache maps from a request to a cached response. The cached answer may have
- // expired and the size of |cache| must be <= kMaxCacheEntries.
+ // cache_ maps from a request to a cached response. The cached answer may
+ // have expired and the size of |cache_| must be <= kMaxCacheEntries.
// < name , rrtype>
std::map<std::pair<std::string, uint16>, RRResponse> cache_;
- // inflight maps from a request to an active resolution which is taking
+ // inflight_ maps from a request to an active resolution which is taking
// place.
std::map<std::pair<std::string, uint16>, RRResolverJob*> inflight_;
@@ -136,4 +133,4 @@ class DnsRRResolver : public NonThreadSafe,
} // namespace net
-#endif // NET_BASE_DNSRR_RESOLVER_H_
+#endif // NET_BASE_DNSRR_RESOLVER_H_