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

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

Issue 18054010: Use a direct include of time headers in net/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/dns/host_resolver_impl.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_HOST_CACHE_H_ 5 #ifndef NET_DNS_HOST_CACHE_H_
6 #define NET_DNS_HOST_CACHE_H_ 6 #define NET_DNS_HOST_CACHE_H_
7 7
8 #include <functional> 8 #include <functional>
9 #include <string> 9 #include <string>
10 10
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 #include "base/time.h" 14 #include "base/time/time.h"
15 #include "net/base/address_family.h" 15 #include "net/base/address_family.h"
16 #include "net/base/address_list.h" 16 #include "net/base/address_list.h"
17 #include "net/base/expiring_cache.h" 17 #include "net/base/expiring_cache.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 // Cache used by HostResolver to map hostnames to their resolved result. 22 // Cache used by HostResolver to map hostnames to their resolved result.
23 class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) { 23 class NET_EXPORT HostCache : NON_EXPORTED_BASE(public base::NonThreadSafe) {
24 public: 24 public:
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Map from hostname (presumably in lowercase canonicalized format) to 115 // Map from hostname (presumably in lowercase canonicalized format) to
116 // a resolved result entry. 116 // a resolved result entry.
117 EntryMap entries_; 117 EntryMap entries_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(HostCache); 119 DISALLOW_COPY_AND_ASSIGN(HostCache);
120 }; 120 };
121 121
122 } // namespace net 122 } // namespace net
123 123
124 #endif // NET_DNS_HOST_CACHE_H_ 124 #endif // NET_DNS_HOST_CACHE_H_
OLDNEW
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/dns/host_resolver_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698