OLD | NEW |
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_ADDRESS_SORTER_POSIX_H_ | 5 #ifndef NET_DNS_ADDRESS_SORTER_POSIX_H_ |
6 #define NET_DNS_ADDRESS_SORTER_POSIX_H_ | 6 #define NET_DNS_ADDRESS_SORTER_POSIX_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
12 #include "net/base/address_list.h" | 13 #include "net/base/address_list.h" |
13 #include "net/base/ip_address_number.h" | 14 #include "net/base/ip_address_number.h" |
14 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
15 #include "net/base/network_change_notifier.h" | 16 #include "net/base/network_change_notifier.h" |
16 #include "net/dns/address_sorter.h" | 17 #include "net/dns/address_sorter.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
20 class ClientSocketFactory; | 21 class ClientSocketFactory; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 PolicyTable precedence_table_; | 85 PolicyTable precedence_table_; |
85 PolicyTable label_table_; | 86 PolicyTable label_table_; |
86 PolicyTable ipv4_scope_table_; | 87 PolicyTable ipv4_scope_table_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(AddressSorterPosix); | 89 DISALLOW_COPY_AND_ASSIGN(AddressSorterPosix); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace net | 92 } // namespace net |
92 | 93 |
93 #endif // NET_DNS_ADDRESS_SORTER_POSIX_H_ | 94 #endif // NET_DNS_ADDRESS_SORTER_POSIX_H_ |
OLD | NEW |