// 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.

// A simple callback that you can use to wait for events on a thread.

#ifndef CHROME_TEST_SIGNALING_TASK_H_
#define CHROME_TEST_SIGNALING_TASK_H_
#pragma once

#include "base/task.h"

namespace base {
class WaitableEvent;
}

class SignalingTask : public Task {
 public:
  explicit SignalingTask(base::WaitableEvent* event);
  virtual ~SignalingTask();

  virtual void Run();

 private:
  base::WaitableEvent* event_;
};

#endif  // CHROME_TEST_SIGNALING_TASK_H_