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

Unified Diff: mojo/runner/child_process_host.h

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: some review comments Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: mojo/runner/child_process_host.h
diff --git a/mojo/runner/child_process_host.h b/mojo/runner/child_process_host.h
index 8ab3147992b82e3faab43bde95d7ebf0b0e68b5c..d872182c8eefda095334e3a0b99712fbf6a8397b 100644
--- a/mojo/runner/child_process_host.h
+++ b/mojo/runner/child_process_host.h
@@ -8,11 +8,11 @@
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/process/process.h"
-#include "mojo/edk/embedder/channel_info_forward.h"
-#include "mojo/edk/embedder/platform_channel_pair.h"
-#include "mojo/edk/embedder/scoped_platform_handle.h"
#include "mojo/runner/child_process.mojom.h"
#include "mojo/runner/child_process_host.h"
+#include "third_party/mojo/src/mojo/edk/embedder/channel_info_forward.h"
+#include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
+#include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
namespace mojo {
namespace runner {
@@ -72,14 +72,13 @@ class ChildProcessHost {
bool start_sandboxed_;
const base::FilePath app_path_;
base::Process child_process_;
- embedder::PlatformChannelPair platform_channel_pair_;
ChildControllerPtr controller_;
+ embedder::PlatformChannelPair platform_channel_pair_;
embedder::ChannelInfo* channel_info_;
- ChildController::StartAppCallback on_app_complete_;
-
// Platform-specific "pipe" to the child process. Valid immediately after
// creation.
embedder::ScopedPlatformHandle platform_channel_;
+ ChildController::StartAppCallback on_app_complete_;
DISALLOW_COPY_AND_ASSIGN(ChildProcessHost);
};

Powered by Google App Engine
This is Rietveld 408576698