diff options
Diffstat (limited to 'chrome/test/signaling_task.cc')
| -rw-r--r-- | chrome/test/signaling_task.cc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/test/signaling_task.cc b/chrome/test/signaling_task.cc new file mode 100644 index 0000000..cecf0b2 --- /dev/null +++ b/chrome/test/signaling_task.cc @@ -0,0 +1,16 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/test/signaling_task.h" + +#include "base/synchronization/waitable_event.h" + +SignalingTask::SignalingTask(base::WaitableEvent* event) : event_(event) { +} + +SignalingTask::~SignalingTask() {} + +void SignalingTask::Run() { + event_->Signal(); +} |
