| 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_transaction.h" | 5 #include "net/dns/dns_transaction.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <limits> | 9 #include <limits> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
| 14 #include "base/sys_byteorder.h" | 15 #include "base/sys_byteorder.h" |
| 15 #include "base/test/test_timeouts.h" | 16 #include "base/test/test_timeouts.h" |
| 16 #include "net/dns/dns_protocol.h" | 17 #include "net/dns/dns_protocol.h" |
| 17 #include "net/dns/dns_query.h" | 18 #include "net/dns/dns_query.h" |
| 18 #include "net/dns/dns_response.h" | 19 #include "net/dns/dns_response.h" |
| 19 #include "net/dns/dns_session.h" | 20 #include "net/dns/dns_session.h" |
| 20 #include "net/dns/dns_test_util.h" | 21 #include "net/dns/dns_test_util.h" |
| 21 #include "net/dns/dns_util.h" | 22 #include "net/dns/dns_util.h" |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 996 config_.timeout = TestTimeouts::tiny_timeout(); | 997 config_.timeout = TestTimeouts::tiny_timeout(); |
| 997 ConfigureFactory(); | 998 ConfigureFactory(); |
| 998 | 999 |
| 999 TransactionHelper helper0(".", dns_protocol::kTypeA, ERR_INVALID_ARGUMENT); | 1000 TransactionHelper helper0(".", dns_protocol::kTypeA, ERR_INVALID_ARGUMENT); |
| 1000 EXPECT_TRUE(helper0.Run(transaction_factory_.get())); | 1001 EXPECT_TRUE(helper0.Run(transaction_factory_.get())); |
| 1001 } | 1002 } |
| 1002 | 1003 |
| 1003 } // namespace | 1004 } // namespace |
| 1004 | 1005 |
| 1005 } // namespace net | 1006 } // namespace net |
| OLD | NEW |