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

Unified Diff: mojo/system/raw_channel_posix.cc

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/raw_channel.h ('k') | mojo/system/raw_channel_posix_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/raw_channel_posix.cc
diff --git a/mojo/system/raw_channel_posix.cc b/mojo/system/raw_channel_posix.cc
index f5234fa8fb69eb963f7f87869be4769ea30f580f..842f91f39e66f587948e19f5abeb952eb1a7406b 100644
--- a/mojo/system/raw_channel_posix.cc
+++ b/mojo/system/raw_channel_posix.cc
@@ -35,7 +35,7 @@ const size_t kReadSize = 4096;
class RawChannelPosix : public RawChannel,
public base::MessageLoopForIO::Watcher {
public:
- RawChannelPosix(ScopedPlatformHandle handle,
+ RawChannelPosix(embedder::ScopedPlatformHandle handle,
Delegate* delegate,
base::MessageLoop* message_loop);
virtual ~RawChannelPosix();
@@ -72,7 +72,7 @@ class RawChannelPosix : public RawChannel,
return static_cast<base::MessageLoopForIO*>(message_loop());
}
- ScopedPlatformHandle fd_;
+ embedder::ScopedPlatformHandle fd_;
// Only used on the I/O thread:
scoped_ptr<base::MessageLoopForIO::FileDescriptorWatcher> read_watcher_;
@@ -97,7 +97,7 @@ class RawChannelPosix : public RawChannel,
DISALLOW_COPY_AND_ASSIGN(RawChannelPosix);
};
-RawChannelPosix::RawChannelPosix(ScopedPlatformHandle handle,
+RawChannelPosix::RawChannelPosix(embedder::ScopedPlatformHandle handle,
Delegate* delegate,
base::MessageLoop* message_loop)
: RawChannel(delegate, message_loop),
@@ -400,7 +400,7 @@ void RawChannelPosix::CancelPendingWritesNoLock() {
// Static factory method declared in raw_channel.h.
// static
-RawChannel* RawChannel::Create(ScopedPlatformHandle handle,
+RawChannel* RawChannel::Create(embedder::ScopedPlatformHandle handle,
Delegate* delegate,
base::MessageLoop* message_loop) {
return new RawChannelPosix(handle.Pass(), delegate, message_loop);
« no previous file with comments | « mojo/system/raw_channel.h ('k') | mojo/system/raw_channel_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698