summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorjamesr <jamesr@chromium.org>2014-10-02 21:26:48 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-03 04:27:07 +0000
commita03ae49d253d7d1f517e2f92146a6ba201c78aa6 (patch)
treedf4eae1239d49490fa4e85d184b9000224a7a31c /ipc
parent24b9789375c3c23d0d10e5197c6a7674946ea44b (diff)
downloadchromium_src-a03ae49d253d7d1f517e2f92146a6ba201c78aa6.zip
chromium_src-a03ae49d253d7d1f517e2f92146a6ba201c78aa6.tar.gz
chromium_src-a03ae49d253d7d1f517e2f92146a6ba201c78aa6.tar.bz2
Move mojo edk into mojo/edk
This creates a mojo/edk directory which contains the "embedder developer kit" aka the set of code needed to embed mojo code. mojo/edk/embedder = code from mojo/embedder mojo/edk/system = code from mojo/system mojo/edk/test = code used to test the previous two, from mojo/common/test mojo/edk/ can only depend on mojo/public/, base/ and itself. R=viettrungluu@chromium.org TBR=sky@chromium.org for file renames Committed: https://chromium.googlesource.com/chromium/src/+/ee7ff197a98da4636f33bd713de784948b487bd4 Review URL: https://codereview.chromium.org/621153003 Cr-Commit-Position: refs/heads/master@{#297986}
Diffstat (limited to 'ipc')
-rw-r--r--ipc/mojo/BUILD.gn6
-rw-r--r--ipc/mojo/DEPS4
-rw-r--r--ipc/mojo/ipc_channel_mojo.cc2
-rw-r--r--ipc/mojo/ipc_channel_mojo_readers.cc2
-rw-r--r--ipc/mojo/ipc_channel_mojo_unittest.cc2
-rw-r--r--ipc/mojo/ipc_mojo_bootstrap.cc2
-rw-r--r--ipc/mojo/ipc_mojo_bootstrap.h2
-rw-r--r--ipc/mojo/ipc_mojo_perftest.cc2
-rw-r--r--ipc/mojo/run_all_unittests.cc2
9 files changed, 12 insertions, 12 deletions
diff --git a/ipc/mojo/BUILD.gn b/ipc/mojo/BUILD.gn
index 27c9cd9..29905bd 100644
--- a/ipc/mojo/BUILD.gn
+++ b/ipc/mojo/BUILD.gn
@@ -24,7 +24,7 @@ component("mojo") {
"//ipc",
"//mojo/environment:chromium",
"//mojo/public/cpp/bindings",
- "//mojo/system",
+ "//mojo/edk/system",
]
}
@@ -42,8 +42,8 @@ test("ipc_mojo_unittests") {
"//ipc",
"//ipc:test_support",
"//ipc/mojo",
+ "//mojo/edk/system",
"//mojo/environment:chromium",
- "//mojo/system",
"//url",
]
}
@@ -61,8 +61,8 @@ test("ipc_mojo_perftests") {
"//ipc",
"//ipc:test_support",
"//ipc/mojo",
+ "//mojo/edk/system",
"//mojo/environment:chromium",
- "//mojo/system",
"//url",
]
}
diff --git a/ipc/mojo/DEPS b/ipc/mojo/DEPS
index 6706a1f..039e243 100644
--- a/ipc/mojo/DEPS
+++ b/ipc/mojo/DEPS
@@ -1,4 +1,4 @@
include_rules = [
"+mojo/public",
- "+mojo/embedder",
-] \ No newline at end of file
+ "+mojo/edk/embedder",
+]
diff --git a/ipc/mojo/ipc_channel_mojo.cc b/ipc/mojo/ipc_channel_mojo.cc
index 00f5452..d3a9f79 100644
--- a/ipc/mojo/ipc_channel_mojo.cc
+++ b/ipc/mojo/ipc_channel_mojo.cc
@@ -10,7 +10,7 @@
#include "ipc/ipc_listener.h"
#include "ipc/mojo/ipc_channel_mojo_readers.h"
#include "ipc/mojo/ipc_mojo_bootstrap.h"
-#include "mojo/embedder/embedder.h"
+#include "mojo/edk/embedder/embedder.h"
#if defined(OS_POSIX) && !defined(OS_NACL)
#include "ipc/file_descriptor_set_posix.h"
diff --git a/ipc/mojo/ipc_channel_mojo_readers.cc b/ipc/mojo/ipc_channel_mojo_readers.cc
index 227a946..2c231bf 100644
--- a/ipc/mojo/ipc_channel_mojo_readers.cc
+++ b/ipc/mojo/ipc_channel_mojo_readers.cc
@@ -5,7 +5,7 @@
#include "ipc/mojo/ipc_channel_mojo_readers.h"
#include "ipc/mojo/ipc_channel_mojo.h"
-#include "mojo/embedder/embedder.h"
+#include "mojo/edk/embedder/embedder.h"
#if defined(OS_POSIX) && !defined(OS_NACL)
#include "ipc/file_descriptor_set_posix.h"
diff --git a/ipc/mojo/ipc_channel_mojo_unittest.cc b/ipc/mojo/ipc_channel_mojo_unittest.cc
index ac1efd1..39224a0 100644
--- a/ipc/mojo/ipc_channel_mojo_unittest.cc
+++ b/ipc/mojo/ipc_channel_mojo_unittest.cc
@@ -239,7 +239,7 @@ TEST_F(IPCChannelMojoErrorTest, SendFailWithPendingMessages) {
CreateChannel(&listener);
ASSERT_TRUE(ConnectChannel());
- // This matches a value in mojo/system/constants.h
+ // This matches a value in mojo/edk/system/constants.h
const int kMaxMessageNumBytes = 4 * 1024 * 1024;
std::string overly_large_data(kMaxMessageNumBytes, '*');
// This messages are queued as pending.
diff --git a/ipc/mojo/ipc_mojo_bootstrap.cc b/ipc/mojo/ipc_mojo_bootstrap.cc
index 0082fb8..1b50b3f 100644
--- a/ipc/mojo/ipc_mojo_bootstrap.cc
+++ b/ipc/mojo/ipc_mojo_bootstrap.cc
@@ -8,7 +8,7 @@
#include "base/process/process_handle.h"
#include "ipc/ipc_message_utils.h"
#include "ipc/ipc_platform_file.h"
-#include "mojo/embedder/platform_channel_pair.h"
+#include "mojo/edk/embedder/platform_channel_pair.h"
namespace IPC {
diff --git a/ipc/mojo/ipc_mojo_bootstrap.h b/ipc/mojo/ipc_mojo_bootstrap.h
index a099af9..4d9e471 100644
--- a/ipc/mojo/ipc_mojo_bootstrap.h
+++ b/ipc/mojo/ipc_mojo_bootstrap.h
@@ -9,7 +9,7 @@
#include "base/process/process_handle.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_listener.h"
-#include "mojo/embedder/scoped_platform_handle.h"
+#include "mojo/edk/embedder/scoped_platform_handle.h"
namespace IPC {
diff --git a/ipc/mojo/ipc_mojo_perftest.cc b/ipc/mojo/ipc_mojo_perftest.cc
index 81dcd70..20893d4 100644
--- a/ipc/mojo/ipc_mojo_perftest.cc
+++ b/ipc/mojo/ipc_mojo_perftest.cc
@@ -6,7 +6,7 @@
#include "ipc/ipc_perftest_support.h"
#include "ipc/mojo/ipc_channel_mojo.h"
#include "ipc/mojo/ipc_channel_mojo_host.h"
-#include "mojo/embedder/test_embedder.h"
+#include "mojo/edk/embedder/test_embedder.h"
namespace {
diff --git a/ipc/mojo/run_all_unittests.cc b/ipc/mojo/run_all_unittests.cc
index 0989bf3..cc5b102 100644
--- a/ipc/mojo/run_all_unittests.cc
+++ b/ipc/mojo/run_all_unittests.cc
@@ -6,7 +6,7 @@
#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
-#include "mojo/embedder/test_embedder.h"
+#include "mojo/edk/embedder/test_embedder.h"
#if defined(OS_ANDROID)
#include "base/android/jni_android.h"