Index: mojo/edk/system/awakable_list.h |
diff --git a/mojo/edk/system/awakable_list.h b/mojo/edk/system/awakable_list.h |
index 355677f7036771af72221e0ceee8d9d7c09b6f60..34d6b06922a041498d06a7d155c1124f4a8922d7 100644 |
--- a/mojo/edk/system/awakable_list.h |
+++ b/mojo/edk/system/awakable_list.h |
@@ -12,8 +12,6 @@ |
#include "base/macros.h" |
#include "mojo/edk/system/system_impl_export.h" |
-#include "mojo/edk/system/watcher.h" |
-#include "mojo/edk/system/watcher_set.h" |
#include "mojo/public/c/system/types.h" |
namespace mojo { |
@@ -39,13 +37,6 @@ class MOJO_SYSTEM_IMPL_EXPORT AwakableList { |
void Add(Awakable* awakable, MojoHandleSignals signals, uintptr_t context); |
void Remove(Awakable* awakable); |
- // Add and remove Watchers to this AwakableList. |
- MojoResult AddWatcher(MojoHandleSignals signals, |
- const Watcher::WatchCallback& callback, |
- uintptr_t context, |
- const HandleSignalsState& current_state); |
- MojoResult RemoveWatcher(uintptr_t context); |
- |
private: |
struct AwakeInfo { |
AwakeInfo(Awakable* awakable, MojoHandleSignals signals, uintptr_t context) |
@@ -59,10 +50,6 @@ class MOJO_SYSTEM_IMPL_EXPORT AwakableList { |
AwakeInfoList awakables_; |
- // TODO: Remove AwakableList and instead use WatcherSet directly in |
- // dispatchers. |
- WatcherSet watchers_; |
- |
DISALLOW_COPY_AND_ASSIGN(AwakableList); |
}; |