diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 20:50:18 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-10 20:50:18 +0000 |
commit | 35cfded5c32c6dd14c2e0332caf9eb354416e269 (patch) | |
tree | b001d44a7b732730e78d53127787db3555e4a2d7 /mojo/common | |
parent | fe260f752a59e0001ed296bbb8c955abf256c1af (diff) | |
download | chromium_src-35cfded5c32c6dd14c2e0332caf9eb354416e269.zip chromium_src-35cfded5c32c6dd14c2e0332caf9eb354416e269.tar.gz chromium_src-35cfded5c32c6dd14c2e0332caf9eb354416e269.tar.bz2 |
Mojo: Move PlatformChannelPair to its own files.
(platform_channel_posix.cc gets moved to platform_channel_pair_posix.cc
entirely.)
R=darin@chromium.org
Review URL: https://codereview.chromium.org/133533007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/common')
-rw-r--r-- | mojo/common/test/multiprocess_test_base.cc | 2 | ||||
-rw-r--r-- | mojo/common/test/multiprocess_test_base.h | 7 | ||||
-rw-r--r-- | mojo/common/test/multiprocess_test_base_unittest.cc | 1 |
3 files changed, 9 insertions, 1 deletions
diff --git a/mojo/common/test/multiprocess_test_base.cc b/mojo/common/test/multiprocess_test_base.cc index 0d3d4ab..1ff9d95 100644 --- a/mojo/common/test/multiprocess_test_base.cc +++ b/mojo/common/test/multiprocess_test_base.cc @@ -10,6 +10,8 @@ #include "base/process/process_handle.h" // TODO(vtl): Remove build_config.h include when fully implemented on Windows. #include "build/build_config.h" +#include "mojo/system/platform_channel.h" +#include "mojo/system/platform_channel_pair.h" namespace mojo { namespace test { diff --git a/mojo/common/test/multiprocess_test_base.h b/mojo/common/test/multiprocess_test_base.h index 9729191..d86c61a 100644 --- a/mojo/common/test/multiprocess_test_base.h +++ b/mojo/common/test/multiprocess_test_base.h @@ -11,10 +11,15 @@ #include "base/compiler_specific.h" #include "base/process/process_handle.h" #include "base/test/multiprocess_test.h" -#include "mojo/system/platform_channel.h" #include "testing/multiprocess_func_list.h" namespace mojo { + +namespace system { +class PlatformChannel; +class PlatformChannelPair; +} + namespace test { class MultiprocessTestBase : public base::MultiProcessTest { diff --git a/mojo/common/test/multiprocess_test_base_unittest.cc b/mojo/common/test/multiprocess_test_base_unittest.cc index 614d7b7..e2c1903 100644 --- a/mojo/common/test/multiprocess_test_base_unittest.cc +++ b/mojo/common/test/multiprocess_test_base_unittest.cc @@ -6,6 +6,7 @@ #include "base/logging.h" #include "build/build_config.h" +#include "mojo/system/platform_channel.h" #include "mojo/system/platform_channel_handle.h" #if defined(OS_POSIX) |