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

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

Issue 145873006: ui/base/resource: Roll our own version of ReadBigEndian() function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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_transaction.cc ('k') | net/dns/record_rdata.h » ('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"
14 #include "net/base/dns_util.h" 13 #include "net/base/dns_util.h"
15 #include "net/base/net_log.h" 14 #include "net/base/net_log.h"
16 #include "net/dns/dns_protocol.h" 15 #include "net/dns/dns_protocol.h"
17 #include "net/dns/dns_query.h" 16 #include "net/dns/dns_query.h"
18 #include "net/dns/dns_response.h" 17 #include "net/dns/dns_response.h"
19 #include "net/dns/dns_session.h" 18 #include "net/dns/dns_session.h"
20 #include "net/dns/dns_test_util.h" 19 #include "net/dns/dns_test_util.h"
21 #include "net/socket/socket_test_util.h" 20 #include "net/socket/socket_test_util.h"
22 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
23 22
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 config_.timeout = TestTimeouts::tiny_timeout(); 930 config_.timeout = TestTimeouts::tiny_timeout();
932 ConfigureFactory(); 931 ConfigureFactory();
933 932
934 TransactionHelper helper0(".", dns_protocol::kTypeA, ERR_INVALID_ARGUMENT); 933 TransactionHelper helper0(".", dns_protocol::kTypeA, ERR_INVALID_ARGUMENT);
935 EXPECT_TRUE(helper0.Run(transaction_factory_.get())); 934 EXPECT_TRUE(helper0.Run(transaction_factory_.get()));
936 } 935 }
937 936
938 } // namespace 937 } // namespace
939 938
940 } // namespace net 939 } // namespace net
OLDNEW
« no previous file with comments | « net/dns/dns_transaction.cc ('k') | net/dns/record_rdata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698