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

Unified Diff: mojo/system/raw_channel_posix_unittest.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_posix.cc ('k') | mojo/system/raw_channel_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/raw_channel_posix_unittest.cc
diff --git a/mojo/system/raw_channel_posix_unittest.cc b/mojo/system/raw_channel_posix_unittest.cc
index 2324001dc4a009abc8a3c972df7d3fd21c6e82fd..9c8f57132c4b852a7c6773c8c84eb0eff9136cf3 100644
--- a/mojo/system/raw_channel_posix_unittest.cc
+++ b/mojo/system/raw_channel_posix_unittest.cc
@@ -71,7 +71,7 @@ class RawChannelPosixTest : public test::TestWithIOThreadBase {
virtual void SetUp() OVERRIDE {
test::TestWithIOThreadBase::SetUp();
- PlatformChannelPair channel_pair;
+ embedder::PlatformChannelPair channel_pair;
handles[0] = channel_pair.PassServerHandle();
handles[1] = channel_pair.PassClientHandle();
}
@@ -84,7 +84,7 @@ class RawChannelPosixTest : public test::TestWithIOThreadBase {
}
protected:
- ScopedPlatformHandle handles[2];
+ embedder::ScopedPlatformHandle handles[2];
private:
DISALLOW_COPY_AND_ASSIGN(RawChannelPosixTest);
@@ -114,7 +114,7 @@ static const size_t kMessageReaderMaxPollIterations = 3000;
class TestMessageReaderAndChecker {
public:
- explicit TestMessageReaderAndChecker(PlatformHandle handle)
+ explicit TestMessageReaderAndChecker(embedder::PlatformHandle handle)
: handle_(handle) {}
~TestMessageReaderAndChecker() { CHECK(bytes_.empty()); }
@@ -172,7 +172,7 @@ class TestMessageReaderAndChecker {
}
private:
- const PlatformHandle handle_;
+ const embedder::PlatformHandle handle_;
// The start of the received data should always be on a message boundary.
std::vector<unsigned char> bytes_;
« no previous file with comments | « mojo/system/raw_channel_posix.cc ('k') | mojo/system/raw_channel_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698