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 #include "net/dns/address_sorter.h" | 5 #include "net/dns/address_sorter.h" |
6 | 6 |
7 #include <winsock2.h> | 7 #include <winsock2.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 }; | 140 }; |
141 | 141 |
142 } // namespace | 142 } // namespace |
143 | 143 |
144 // static | 144 // static |
145 std::unique_ptr<AddressSorter> AddressSorter::CreateAddressSorter() { | 145 std::unique_ptr<AddressSorter> AddressSorter::CreateAddressSorter() { |
146 return std::unique_ptr<AddressSorter>(new AddressSorterWin()); | 146 return std::unique_ptr<AddressSorter>(new AddressSorterWin()); |
147 } | 147 } |
148 | 148 |
149 } // namespace net | 149 } // namespace net |
150 | |
OLD | NEW |