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

Unified Diff: mojo/edk/system/raw_channel.cc

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/raw_channel.h ('k') | mojo/edk/system/raw_channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/raw_channel.cc
diff --git a/mojo/edk/system/raw_channel.cc b/mojo/edk/system/raw_channel.cc
index 3b83a67bb030d4232db7f87824341f1b6de58c4e..19005c856c4146492382c9d941d93dac8c56a55b 100644
--- a/mojo/edk/system/raw_channel.cc
+++ b/mojo/edk/system/raw_channel.cc
@@ -16,7 +16,8 @@
#include "mojo/edk/system/message_in_transit.h"
#include "mojo/edk/system/transport_data.h"
-using mojo::embedder::ScopedPlatformHandle;
+using mojo::platform::PlatformHandle;
+using mojo::platform::ScopedPlatformHandle;
using mojo::util::MutexLocker;
namespace mojo {
@@ -75,7 +76,7 @@ bool RawChannel::WriteBuffer::HavePlatformHandlesToSend() const {
void RawChannel::WriteBuffer::GetPlatformHandlesToSend(
size_t* num_platform_handles,
- embedder::PlatformHandle** platform_handles,
+ PlatformHandle** platform_handles,
void** serialization_data) {
DCHECK(HavePlatformHandlesToSend());
@@ -85,7 +86,7 @@ void RawChannel::WriteBuffer::GetPlatformHandlesToSend(
transport_data->platform_handles();
*num_platform_handles =
all_platform_handles->size() - platform_handles_offset_;
- *platform_handles = reinterpret_cast<embedder::PlatformHandle*>(
+ *platform_handles = reinterpret_cast<PlatformHandle*>(
&(*all_platform_handles)[platform_handles_offset_]);
if (serialized_platform_handle_size_ > 0) {
« no previous file with comments | « mojo/edk/system/raw_channel.h ('k') | mojo/edk/system/raw_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698