Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: net/dns/dns_transaction_unittest.cc

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get_canonical_name -> canonical_name. iterator to indexing Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/dns/dns_response_unittest.cc ('k') | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "base/sys_byteorder.h" 11 #include "base/sys_byteorder.h"
12 #include "base/test/test_timeouts.h" 12 #include "base/test/test_timeouts.h"
13 #include "net/base/big_endian.h" 13 #include "net/base/big_endian.h"
14 #include "net/base/dns_util.h" 14 #include "net/base/dns_util.h"
15 #include "net/base/net_log.h" 15 #include "net/base/net_log.h"
16 #include "net/base/sys_addrinfo.h"
17 #include "net/dns/dns_protocol.h" 16 #include "net/dns/dns_protocol.h"
18 #include "net/dns/dns_query.h" 17 #include "net/dns/dns_query.h"
19 #include "net/dns/dns_response.h" 18 #include "net/dns/dns_response.h"
20 #include "net/dns/dns_session.h" 19 #include "net/dns/dns_session.h"
21 #include "net/dns/dns_test_util.h" 20 #include "net/dns/dns_test_util.h"
22 #include "net/socket/socket_test_util.h" 21 #include "net/socket/socket_test_util.h"
23 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
24 23
25 namespace net { 24 namespace net {
26 25
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 783
785 TransactionHelper helper0("www", 784 TransactionHelper helper0("www",
786 kT2Qtype, 785 kT2Qtype,
787 kT2RecordCount); 786 kT2RecordCount);
788 EXPECT_TRUE(helper0.Run(transaction_factory_.get())); 787 EXPECT_TRUE(helper0.Run(transaction_factory_.get()));
789 } 788 }
790 789
791 } // namespace 790 } // namespace
792 791
793 } // namespace net 792 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/dns_response_unittest.cc ('k') | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698