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

Unified Diff: mojo/edk/system/test_utils.cc

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more cleanup Created 5 years, 2 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
Index: mojo/edk/system/test_utils.cc
diff --git a/third_party/mojo/src/mojo/edk/system/test_utils.cc b/mojo/edk/system/test_utils.cc
similarity index 88%
copy from third_party/mojo/src/mojo/edk/system/test_utils.cc
copy to mojo/edk/system/test_utils.cc
index cb012e87396c5c8025c043a7f1cea36578c6859c..49e346b895cb62cc76d6468da51f81d460e752bb 100644
--- a/third_party/mojo/src/mojo/edk/system/test_utils.cc
+++ b/mojo/edk/system/test_utils.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "third_party/mojo/src/mojo/edk/system/test_utils.h"
+#include "mojo/edk/system/test_utils.h"
#include <limits>
@@ -12,7 +12,7 @@
#include "build/build_config.h"
namespace mojo {
-namespace system {
+namespace edk {
namespace test {
MojoDeadline DeadlineFromMilliseconds(unsigned milliseconds) {
@@ -69,6 +69,15 @@ MojoDeadline Stopwatch::Elapsed() {
return static_cast<MojoDeadline>(result);
}
+
+MojoSystemTest::MojoSystemTest()
+ : test_io_thread_(base::TestIOThread::kAutoStart),
+ ipc_support_(test_io_thread_.task_runner()) {
+}
+
+MojoSystemTest::~MojoSystemTest() {
+}
+
} // namespace test
-} // namespace system
+} // namespace edk
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698