Index: mojo/message_pump/handle_watcher.h |
diff --git a/mojo/common/handle_watcher.h b/mojo/message_pump/handle_watcher.h |
similarity index 85% |
rename from mojo/common/handle_watcher.h |
rename to mojo/message_pump/handle_watcher.h |
index 9056ec4bbba179ab52d3c9661ea0a6725f070bb1..9c18476135a811c26989a80a8e2d40cd94307c3c 100644 |
--- a/mojo/common/handle_watcher.h |
+++ b/mojo/message_pump/handle_watcher.h |
@@ -2,15 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef MOJO_COMMON_HANDLE_WATCHER_H_ |
-#define MOJO_COMMON_HANDLE_WATCHER_H_ |
+#ifndef MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ |
+#define MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ |
-#include "base/basictypes.h" |
#include "base/callback_forward.h" |
+#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/run_loop.h" |
-#include "mojo/common/mojo_common_export.h" |
-#include "third_party/mojo/src/mojo/public/cpp/system/core.h" |
+#include "mojo/public/c/system/time.h" |
+#include "mojo/public/cpp/system/handle.h" |
namespace base { |
class Thread; |
@@ -24,7 +24,7 @@ class HandleWatcherTest; |
// HandleWatcher is used to asynchronously wait on a handle and notify a Closure |
// when the handle is ready, or the deadline has expired. |
-class MOJO_COMMON_EXPORT HandleWatcher { |
+class HandleWatcher { |
public: |
HandleWatcher(); |
@@ -61,4 +61,4 @@ class MOJO_COMMON_EXPORT HandleWatcher { |
} // namespace common |
} // namespace mojo |
-#endif // MOJO_COMMON_HANDLE_WATCHER_H_ |
+#endif // MOJO_MESSAGE_PUMP_HANDLE_WATCHER_H_ |