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

Unified Diff: mojo/system/raw_channel_unittest.cc

Issue 488003003: Add ChannelProxy benchmark to ipc_perftests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Landing. Created 6 years, 4 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/message_pipe_test_utils.cc ('k') | mojo/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/raw_channel_unittest.cc
diff --git a/mojo/system/raw_channel_unittest.cc b/mojo/system/raw_channel_unittest.cc
index eaea1ed7e10e8d926c20c24c5dae880a327c4112..a73140026399182d495526c80d0b3df6cb94fb88 100644
--- a/mojo/system/raw_channel_unittest.cc
+++ b/mojo/system/raw_channel_unittest.cc
@@ -17,6 +17,7 @@
#include "base/rand_util.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/waitable_event.h"
+#include "base/test/test_io_thread.h"
#include "base/threading/platform_thread.h" // For |Sleep()|.
#include "base/threading/simple_thread.h"
#include "base/time/time.h"
@@ -71,7 +72,7 @@ bool WriteTestMessageToHandle(const embedder::PlatformHandle& handle,
class RawChannelTest : public testing::Test {
public:
- RawChannelTest() : io_thread_(test::TestIOThread::kManualStart) {}
+ RawChannelTest() : io_thread_(base::TestIOThread::kManualStart) {}
virtual ~RawChannelTest() {}
virtual void SetUp() OVERRIDE {
@@ -88,12 +89,12 @@ class RawChannelTest : public testing::Test {
}
protected:
- test::TestIOThread* io_thread() { return &io_thread_; }
+ base::TestIOThread* io_thread() { return &io_thread_; }
embedder::ScopedPlatformHandle handles[2];
private:
- test::TestIOThread io_thread_;
+ base::TestIOThread io_thread_;
DISALLOW_COPY_AND_ASSIGN(RawChannelTest);
};
« no previous file with comments | « mojo/system/message_pipe_test_utils.cc ('k') | mojo/system/remote_message_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698