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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/dns/dns_transaction_unittest.cc ('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_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 <stddef.h>
9
8 #include <functional> 10 #include <functional>
9 #include <string> 11 #include <string>
10 #include <tuple> 12 #include <tuple>
11 13
12 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
14 #include "base/threading/non_thread_safe.h" 17 #include "base/threading/non_thread_safe.h"
15 #include "base/time/time.h" 18 #include "base/time/time.h"
16 #include "net/base/address_family.h" 19 #include "net/base/address_family.h"
17 #include "net/base/address_list.h" 20 #include "net/base/address_list.h"
18 #include "net/base/expiring_cache.h" 21 #include "net/base/expiring_cache.h"
19 #include "net/base/net_export.h" 22 #include "net/base/net_export.h"
20 23
21 namespace net { 24 namespace net {
22 25
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Map from hostname (presumably in lowercase canonicalized format) to 118 // Map from hostname (presumably in lowercase canonicalized format) to
116 // a resolved result entry. 119 // a resolved result entry.
117 EntryMap entries_; 120 EntryMap entries_;
118 121
119 DISALLOW_COPY_AND_ASSIGN(HostCache); 122 DISALLOW_COPY_AND_ASSIGN(HostCache);
120 }; 123 };
121 124
122 } // namespace net 125 } // namespace net
123 126
124 #endif // NET_DNS_HOST_CACHE_H_ 127 #endif // NET_DNS_HOST_CACHE_H_
OLDNEW
« no previous file with comments | « net/dns/dns_transaction_unittest.cc ('k') | net/dns/host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698