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

Unified Diff: mojo/common/handle_watcher_unittest.cc

Issue 64973002: Moves some files into mojo/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/common/handle_watcher_unittest.cc
diff --git a/mojo/shell/handle_watcher_unittest.cc b/mojo/common/handle_watcher_unittest.cc
similarity index 98%
rename from mojo/shell/handle_watcher_unittest.cc
rename to mojo/common/handle_watcher_unittest.cc
index 7f70b14ac4fb0a102a5428dbb853f1983e3f0a41..ae1a1755ad6f0c5b6a20a62308bdb381df927f3c 100644
--- a/mojo/shell/handle_watcher_unittest.cc
+++ b/mojo/common/handle_watcher_unittest.cc
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/shell/handle_watcher.h"
+#include "mojo/common/handle_watcher.h"
#include "base/auto_reset.h"
#include "base/bind.h"
#include "base/run_loop.h"
#include "base/test/simple_test_tick_clock.h"
-#include "mojo/shell/scoped_message_pipe.h"
+#include "mojo/common/scoped_message_pipe.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace mojo {
-namespace shell {
+namespace common {
namespace test {
MojoResult WriteToHandle(MojoHandle handle) {
@@ -102,6 +102,8 @@ class HandleWatcherTest : public testing::Test {
base::SimpleTestTickClock tick_clock_;
private:
+ base::MessageLoop message_loop_;
+
DISALLOW_COPY_AND_ASSIGN(HandleWatcherTest);
};
@@ -274,5 +276,5 @@ TEST_F(HandleWatcherTest, Deadline) {
}
} // namespace test
-} // namespace shell
+} // namespace common
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698