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

Unified Diff: mojo/edk/embedder/platform_channel_pair.h

Issue 1483823004: EDK: Move {platform_handle,scoped_platform_handle}.* to //mojo/edk/platform. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « mojo/edk/embedder/embedder_unittest.cc ('k') | mojo/edk/embedder/platform_channel_pair.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/platform_channel_pair.h
diff --git a/mojo/edk/embedder/platform_channel_pair.h b/mojo/edk/embedder/platform_channel_pair.h
index 3e3c341e09c5a82c66463334e8c59763b4cba96a..d1bdf74887edf935cb43e6a60a69d9c19873603f 100644
--- a/mojo/edk/embedder/platform_channel_pair.h
+++ b/mojo/edk/embedder/platform_channel_pair.h
@@ -8,7 +8,7 @@
#include <string>
#include "base/process/launch.h"
-#include "mojo/edk/embedder/scoped_platform_handle.h"
+#include "mojo/edk/platform/scoped_platform_handle.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
@@ -43,10 +43,10 @@ class PlatformChannelPair {
PlatformChannelPair();
~PlatformChannelPair();
- ScopedPlatformHandle PassServerHandle();
+ platform::ScopedPlatformHandle PassServerHandle();
// For in-process use (e.g., in tests or to pass over another channel).
- ScopedPlatformHandle PassClientHandle();
+ platform::ScopedPlatformHandle PassClientHandle();
// To be called in the child process, after the parent process called
// |PrepareToPassClientHandleToChildProcess()| and launched the child (using
@@ -54,7 +54,7 @@ class PlatformChannelPair {
// handle (in the parent process). |string_from_parent| should be the string
// that was produced (in the parent process) by
// |PrepareToPassClientHandleToChildProcess()|.
- static ScopedPlatformHandle PassClientHandleFromParentProcess(
+ static platform::ScopedPlatformHandle PassClientHandleFromParentProcess(
const std::string& string_from_parent);
// Prepares to pass the client channel to a new child process, to be launched
@@ -73,8 +73,8 @@ class PlatformChannelPair {
private:
static const char kMojoPlatformChannelHandleSwitch[];
- ScopedPlatformHandle server_handle_;
- ScopedPlatformHandle client_handle_;
+ platform::ScopedPlatformHandle server_handle_;
+ platform::ScopedPlatformHandle client_handle_;
MOJO_DISALLOW_COPY_AND_ASSIGN(PlatformChannelPair);
};
« no previous file with comments | « mojo/edk/embedder/embedder_unittest.cc ('k') | mojo/edk/embedder/platform_channel_pair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698