| 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_posix.h" | 5 #include "net/dns/address_sorter_posix.h" |
| 6 | 6 |
| 7 #include <netinet/in.h> | 7 #include <netinet/in.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 info->label = GetPolicyValue(label_table_, address); | 390 info->label = GetPolicyValue(label_table_, address); |
| 391 } | 391 } |
| 392 | 392 |
| 393 // static | 393 // static |
| 394 std::unique_ptr<AddressSorter> AddressSorter::CreateAddressSorter() { | 394 std::unique_ptr<AddressSorter> AddressSorter::CreateAddressSorter() { |
| 395 return std::unique_ptr<AddressSorter>( | 395 return std::unique_ptr<AddressSorter>( |
| 396 new AddressSorterPosix(ClientSocketFactory::GetDefaultFactory())); | 396 new AddressSorterPosix(ClientSocketFactory::GetDefaultFactory())); |
| 397 } | 397 } |
| 398 | 398 |
| 399 } // namespace net | 399 } // namespace net |
| 400 | |
| OLD | NEW |