summaryrefslogtreecommitdiffstats
path: root/chrome/test/signaling_task.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/signaling_task.h')
-rw-r--r--chrome/test/signaling_task.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/test/signaling_task.h b/chrome/test/signaling_task.h
index c745393..c01c787 100644
--- a/chrome/test/signaling_task.h
+++ b/chrome/test/signaling_task.h
@@ -8,21 +8,21 @@
#define CHROME_TEST_SIGNALING_TASK_H_
#pragma once
-#include "base/synchronization/waitable_event.h"
+#include "base/task.h"
-using base::WaitableEvent;
+namespace base {
+class WaitableEvent;
+}
class SignalingTask : public Task {
public:
- explicit SignalingTask(WaitableEvent* event) : event_(event) {
- }
+ explicit SignalingTask(base::WaitableEvent* event);
+ virtual ~SignalingTask();
- virtual void Run() {
- event_->Signal();
- }
+ virtual void Run();
private:
- WaitableEvent* event_;
+ base::WaitableEvent* event_;
};
#endif // CHROME_TEST_SIGNALING_TASK_H_