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

Unified Diff: mojo/system/remote_message_pipe_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/raw_channel_unittest.cc ('k') | mojo/system/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/remote_message_pipe_unittest.cc
diff --git a/mojo/system/remote_message_pipe_unittest.cc b/mojo/system/remote_message_pipe_unittest.cc
index fdd5c4c9fa7f584ed0fff74ceb9de4d959507bdb..bb27d80489905ccf65ff207c0b24bcc508fb91d8 100644
--- a/mojo/system/remote_message_pipe_unittest.cc
+++ b/mojo/system/remote_message_pipe_unittest.cc
@@ -17,6 +17,7 @@
#include "base/logging.h"
#include "base/macros.h"
#include "base/message_loop/message_loop.h"
+#include "base/test/test_io_thread.h"
#include "base/threading/platform_thread.h" // For |Sleep()|.
#include "build/build_config.h" // TODO(vtl): Remove this.
#include "mojo/common/test/test_utils.h"
@@ -40,7 +41,7 @@ namespace {
class RemoteMessagePipeTest : public testing::Test {
public:
- RemoteMessagePipeTest() : io_thread_(test::TestIOThread::kAutoStart) {}
+ RemoteMessagePipeTest() : io_thread_(base::TestIOThread::kAutoStart) {}
virtual ~RemoteMessagePipeTest() {}
virtual void SetUp() OVERRIDE {
@@ -93,7 +94,7 @@ class RemoteMessagePipeTest : public testing::Test {
}
embedder::PlatformSupport* platform_support() { return &platform_support_; }
- test::TestIOThread* io_thread() { return &io_thread_; }
+ base::TestIOThread* io_thread() { return &io_thread_; }
private:
void SetUpOnIOThread() {
@@ -171,7 +172,7 @@ class RemoteMessagePipeTest : public testing::Test {
}
embedder::SimplePlatformSupport platform_support_;
- test::TestIOThread io_thread_;
+ base::TestIOThread io_thread_;
embedder::ScopedPlatformHandle platform_handles_[2];
scoped_refptr<Channel> channels_[2];
« no previous file with comments | « mojo/system/raw_channel_unittest.cc ('k') | mojo/system/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698