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

Side by Side Diff: mojo/common/test/multiprocess_test_base_unittest.cc

Issue 133533007: Mojo: Move PlatformChannelPair to its own files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | « mojo/common/test/multiprocess_test_base.cc ('k') | mojo/mojo.gyp » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/common/test/multiprocess_test_base.h" 5 #include "mojo/common/test/multiprocess_test_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "mojo/system/platform_channel.h"
9 #include "mojo/system/platform_channel_handle.h" 10 #include "mojo/system/platform_channel_handle.h"
10 11
11 #if defined(OS_POSIX) 12 #if defined(OS_POSIX)
12 #include <fcntl.h> 13 #include <fcntl.h>
13 #include <unistd.h> 14 #include <unistd.h>
14 15
15 #include "base/posix/eintr_wrapper.h" 16 #include "base/posix/eintr_wrapper.h"
16 #endif 17 #endif
17 18
18 namespace mojo { 19 namespace mojo {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 PCHECK(close(fd) == 0); 109 PCHECK(close(fd) == 0);
109 110
110 // And return it, incremented again. 111 // And return it, incremented again.
111 c++; 112 c++;
112 return static_cast<int>(c); 113 return static_cast<int>(c);
113 } 114 }
114 #endif // defined(OS_POSIX) 115 #endif // defined(OS_POSIX)
115 116
116 } // namespace 117 } // namespace
117 } // namespace mojo 118 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/common/test/multiprocess_test_base.cc ('k') | mojo/mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698