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

Side by Side Diff: net/base/tcp_listen_socket_unittest.cc

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/base/stream_listen_socket.cc ('k') | net/base/unix_domain_socket_posix.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/base/tcp_listen_socket_unittest.h" 5 #include "net/base/tcp_listen_socket_unittest.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/eintr_wrapper.h" 11 #include "base/posix/eintr_wrapper.h"
12 #include "base/sys_byteorder.h" 12 #include "base/sys_byteorder.h"
13 #include "net/base/net_util.h" 13 #include "net/base/net_util.h"
14 #include "testing/platform_test.h" 14 #include "testing/platform_test.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 const int TCPListenSocketTester::kTestPort = 9999; 18 const int TCPListenSocketTester::kTestPort = 9999;
19 19
20 static const int kReadBufSize = 1024; 20 static const int kReadBufSize = 1024;
21 static const char kHelloWorld[] = "HELLO, WORLD"; 21 static const char kHelloWorld[] = "HELLO, WORLD";
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 TEST_F(TCPListenSocketTest, ServerSend) { 287 TEST_F(TCPListenSocketTest, ServerSend) {
288 tester_->TestServerSend(); 288 tester_->TestServerSend();
289 } 289 }
290 290
291 TEST_F(TCPListenSocketTest, ServerSendMultiple) { 291 TEST_F(TCPListenSocketTest, ServerSendMultiple) {
292 tester_->TestServerSendMultiple(); 292 tester_->TestServerSendMultiple();
293 } 293 }
294 294
295 } // namespace net 295 } // namespace net
OLDNEW
« no previous file with comments | « net/base/stream_listen_socket.cc ('k') | net/base/unix_domain_socket_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698