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

Unified Diff: mojo/edk/system/ipc_support.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/system/dispatcher.cc ('k') | mojo/edk/system/ipc_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ipc_support.h
diff --git a/mojo/edk/system/ipc_support.h b/mojo/edk/system/ipc_support.h
index 40658d98528e2bfc92a1a4561018a8a58d7e805f..c1c2c00f7d0d7bd9b42fc579bb7dddc24705d8b3 100644
--- a/mojo/edk/system/ipc_support.h
+++ b/mojo/edk/system/ipc_support.h
@@ -10,8 +10,8 @@
#include "base/callback_forward.h"
#include "base/gtest_prod_util.h"
#include "mojo/edk/embedder/process_type.h"
-#include "mojo/edk/embedder/scoped_platform_handle.h"
#include "mojo/edk/embedder/slave_info.h"
+#include "mojo/edk/platform/scoped_platform_handle.h"
#include "mojo/edk/platform/task_runner.h"
#include "mojo/edk/system/channel_id.h"
#include "mojo/edk/system/connection_identifier.h"
@@ -67,7 +67,7 @@ class IPCSupport {
util::RefPtr<platform::TaskRunner>&& delegate_thread_task_runner,
embedder::ProcessDelegate* process_delegate,
util::RefPtr<platform::TaskRunner>&& io_thread_task_runner,
- embedder::ScopedPlatformHandle platform_handle);
+ platform::ScopedPlatformHandle platform_handle);
// Note: This object must be shut down before destruction (see
// |ShutdownOnIOThread()|).
~IPCSupport();
@@ -102,7 +102,7 @@ class IPCSupport {
util::RefPtr<MessagePipeDispatcher> ConnectToSlave(
const ConnectionIdentifier& connection_id,
embedder::SlaveInfo slave_info,
- embedder::ScopedPlatformHandle platform_handle,
+ platform::ScopedPlatformHandle platform_handle,
const base::Closure& callback,
util::RefPtr<platform::TaskRunner>&& callback_thread_task_runner,
ChannelId* channel_id);
@@ -147,17 +147,17 @@ class IPCSupport {
// and slave) and creates a second OS "pipe" between the master and slave
// (returning the master's handle). |*slave_process_identifier| will be set to
// the process identifier assigned to the slave.
- embedder::ScopedPlatformHandle ConnectToSlaveInternal(
+ platform::ScopedPlatformHandle ConnectToSlaveInternal(
const ConnectionIdentifier& connection_id,
embedder::SlaveInfo slave_info,
- embedder::ScopedPlatformHandle platform_handle,
+ platform::ScopedPlatformHandle platform_handle,
ProcessIdentifier* slave_process_identifier);
// Helper for |ConnectToMaster()|. Connects (using the connection manager) to
// the master (using the handle to the OS "pipe" that was given to
// |SlaveConnectionManager::Init()|) and creates a second OS "pipe" between
// the master and slave (returning the slave's handle).
- embedder::ScopedPlatformHandle ConnectToMasterInternal(
+ platform::ScopedPlatformHandle ConnectToMasterInternal(
const ConnectionIdentifier& connection_id);
ConnectionManager* connection_manager() const {
« no previous file with comments | « mojo/edk/system/dispatcher.cc ('k') | mojo/edk/system/ipc_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698