| 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/dns_test_util.h" | 5 #include "net/dns/dns_test_util.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/big_endian.h" | 9 #include "base/big_endian.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/location.h" | 11 #include "base/location.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
| 14 #include "base/sys_byteorder.h" | 14 #include "base/sys_byteorder.h" |
| 15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
| 16 #include "net/base/io_buffer.h" | 16 #include "net/base/io_buffer.h" |
| 17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 18 #include "net/dns/address_sorter.h" | 18 #include "net/dns/address_sorter.h" |
| 19 #include "net/dns/dns_query.h" | 19 #include "net/dns/dns_query.h" |
| 20 #include "net/dns/dns_response.h" | 20 #include "net/dns/dns_response.h" |
| 21 #include "net/dns/dns_transaction.h" | 21 #include "net/dns/dns_transaction.h" |
| 22 #include "net/dns/dns_util.h" | 22 #include "net/dns/dns_util.h" |
| 23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
| 24 | 24 |
| 25 namespace net { | 25 namespace net { |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 | 219 |
| 220 AddressSorter* MockDnsClient::GetAddressSorter() { | 220 AddressSorter* MockDnsClient::GetAddressSorter() { |
| 221 return address_sorter_.get(); | 221 return address_sorter_.get(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 void MockDnsClient::CompleteDelayedTransactions() { | 224 void MockDnsClient::CompleteDelayedTransactions() { |
| 225 factory_->CompleteDelayedTransactions(); | 225 factory_->CompleteDelayedTransactions(); |
| 226 } | 226 } |
| 227 | 227 |
| 228 } // namespace net | 228 } // namespace net |
| OLD | NEW |