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

Unified Diff: mojo/common/handle_watcher.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.cc
diff --git a/mojo/shell/handle_watcher.cc b/mojo/common/handle_watcher.cc
similarity index 98%
rename from mojo/shell/handle_watcher.cc
rename to mojo/common/handle_watcher.cc
index bfc1bb143dfe92ef63203e6b93e9b4624542906a..1fef74a865e4294146fa5e6a09ea7ba32e6f6850 100644
--- a/mojo/shell/handle_watcher.cc
+++ b/mojo/common/handle_watcher.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 "mojo/shell/handle_watcher.h"
+#include "mojo/common/handle_watcher.h"
#include <map>
#include <set>
@@ -17,10 +17,10 @@
#include "base/threading/thread.h"
#include "base/time/tick_clock.h"
#include "base/time/time.h"
-#include "mojo/shell/scoped_message_pipe.h"
+#include "mojo/common/scoped_message_pipe.h"
namespace mojo {
-namespace shell {
+namespace common {
typedef int WatcherID;
@@ -396,5 +396,5 @@ base::TimeTicks HandleWatcher::MojoDeadlineToTimeTicks(MojoDeadline deadline) {
NowTicks() + base::TimeDelta::FromMicroseconds(deadline);
}
-} // namespace shell
+} // namespace common
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698