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

Side by Side Diff: net/socket/tcp_server_socket_unittest.cc

Issue 7149008: Cleanup: base/scoped_ptr.h -> base/memory/scoped_ptr.h. (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix nits Created 9 years, 6 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/socket/tcp_server_socket_libevent.h ('k') | net/socket/tcp_server_socket_win.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/socket/tcp_server_socket.h" 5 #include "net/socket/tcp_server_socket.h"
6 6
7 #include <string>
8
7 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
8 #include "base/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
9 #include "net/base/address_list.h" 11 #include "net/base/address_list.h"
10 #include "net/base/ip_endpoint.h" 12 #include "net/base/ip_endpoint.h"
11 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
12 #include "net/base/sys_addrinfo.h" 14 #include "net/base/sys_addrinfo.h"
13 #include "net/base/test_completion_callback.h" 15 #include "net/base/test_completion_callback.h"
14 #include "net/socket/tcp_client_socket.h" 16 #include "net/socket/tcp_client_socket.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 #include "testing/platform_test.h" 18 #include "testing/platform_test.h"
17 19
18 namespace net { 20 namespace net {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 // Both sockets should be on the loopback network interface. 186 // Both sockets should be on the loopback network interface.
185 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), 187 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(),
186 local_address_.address()); 188 local_address_.address());
187 189
188 EXPECT_EQ(OK, connect_callback.WaitForResult()); 190 EXPECT_EQ(OK, connect_callback.WaitForResult());
189 } 191 }
190 192
191 } // namespace 193 } // namespace
192 194
193 } // namespace net 195 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/tcp_server_socket_libevent.h ('k') | net/socket/tcp_server_socket_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698