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

Unified Diff: mojo/system/raw_channel.h

Issue 137063010: Mojo: Move platform handle/channel stuff in system to embedder namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « mojo/system/platform_handle.cc ('k') | mojo/system/raw_channel_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/raw_channel.h
diff --git a/mojo/system/raw_channel.h b/mojo/system/raw_channel.h
index 168ac4df372fbfacbe85d093df8f12934499f18e..0d1e4a30daa7684e329cb2b4bf30439ed35500ac 100644
--- a/mojo/system/raw_channel.h
+++ b/mojo/system/raw_channel.h
@@ -21,11 +21,6 @@ namespace system {
class MessageInTransit;
-// This simply wraps an |int| file descriptor on POSIX and a |HANDLE| on
-// Windows, but we don't want to impose, e.g., the inclusion of windows.h on
-// everyone.
-struct PlatformHandle;
-
// |RawChannel| is an interface to objects that wrap an OS "pipe". It presents
// the following interface to users:
// - Receives and dispatches messages on a thread (running a |MessageLoop|; it
@@ -71,7 +66,7 @@ class MOJO_SYSTEM_IMPL_EXPORT RawChannel {
// (platform-appropriate) bidirectional communication channel (e.g., a socket
// on POSIX, a named pipe on Windows). Does *not* take ownership of |delegate|
// and |message_loop|, which must remain alive while this object does.
- static RawChannel* Create(ScopedPlatformHandle handle,
+ static RawChannel* Create(embedder::ScopedPlatformHandle handle,
Delegate* delegate,
base::MessageLoop* message_loop);
« no previous file with comments | « mojo/system/platform_handle.cc ('k') | mojo/system/raw_channel_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698