summaryrefslogtreecommitdiffstats
path: root/mojo/common
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/common')
-rw-r--r--mojo/common/test/multiprocess_test_base.cc2
-rw-r--r--mojo/common/test/multiprocess_test_base.h7
-rw-r--r--mojo/common/test/multiprocess_test_base_unittest.cc1
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)