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

Side by Side Diff: net/ftp/ftp_network_transaction_unittest.cc

Issue 12518036: net: move host_resolver files from net/base to net/dns (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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/ftp/ftp_network_transaction.h" 5 #include "net/ftp/ftp_network_transaction.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_vector.h" 11 #include "base/memory/scoped_vector.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "net/base/host_port_pair.h" 14 #include "net/base/host_port_pair.h"
15 #include "net/base/io_buffer.h" 15 #include "net/base/io_buffer.h"
16 #include "net/base/mock_host_resolver.h"
17 #include "net/base/net_util.h" 16 #include "net/base/net_util.h"
18 #include "net/base/test_completion_callback.h" 17 #include "net/base/test_completion_callback.h"
18 #include "net/dns/mock_host_resolver.h"
19 #include "net/ftp/ftp_network_session.h" 19 #include "net/ftp/ftp_network_session.h"
20 #include "net/ftp/ftp_request_info.h" 20 #include "net/ftp/ftp_request_info.h"
21 #include "net/socket/socket_test_util.h" 21 #include "net/socket/socket_test_util.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "testing/platform_test.h" 23 #include "testing/platform_test.h"
24 24
25 namespace { 25 namespace {
26 26
27 // Size we use for IOBuffers used to receive data from the test data socket. 27 // Size we use for IOBuffers used to receive data from the test data socket.
28 const int kBufferSize = 128; 28 const int kBufferSize = 128;
(...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after
1593 FtpSocketDataProvider::PRE_TYPE, 1593 FtpSocketDataProvider::PRE_TYPE,
1594 "257 \"\"\r\n", 1594 "257 \"\"\r\n",
1595 OK); 1595 OK);
1596 } 1596 }
1597 1597
1598 INSTANTIATE_TEST_CASE_P(FTP, 1598 INSTANTIATE_TEST_CASE_P(FTP,
1599 FtpNetworkTransactionTest, 1599 FtpNetworkTransactionTest,
1600 ::testing::Values(AF_INET, AF_INET6)); 1600 ::testing::Values(AF_INET, AF_INET6));
1601 1601
1602 } // namespace net 1602 } // namespace net
OLDNEW
« no previous file with comments | « net/ftp/ftp_network_transaction.h ('k') | net/http/http_auth_controller.cc » ('j') | webkit/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698