OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_MDNS_CACHE_H_ | 5 #ifndef NET_DNS_MDNS_CACHE_H_ |
6 #define NET_DNS_MDNS_CACHE_H_ | 6 #define NET_DNS_MDNS_CACHE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/time/time.h" | 15 #include "base/time/time.h" |
15 #include "net/base/net_export.h" | 16 #include "net/base/net_export.h" |
16 | 17 |
17 namespace net { | 18 namespace net { |
18 | 19 |
19 class ParsedDnsRecord; | 20 class ParsedDnsRecord; |
20 class RecordParsed; | 21 class RecordParsed; |
21 | 22 |
22 // mDNS Cache | 23 // mDNS Cache |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 RecordMap mdns_cache_; | 112 RecordMap mdns_cache_; |
112 | 113 |
113 base::Time next_expiration_; | 114 base::Time next_expiration_; |
114 | 115 |
115 DISALLOW_COPY_AND_ASSIGN(MDnsCache); | 116 DISALLOW_COPY_AND_ASSIGN(MDnsCache); |
116 }; | 117 }; |
117 | 118 |
118 } // namespace net | 119 } // namespace net |
119 | 120 |
120 #endif // NET_DNS_MDNS_CACHE_H_ | 121 #endif // NET_DNS_MDNS_CACHE_H_ |
OLD | NEW |