summaryrefslogtreecommitdiffstats
path: root/chrome/test/signaling_task.cc
blob: cecf0b2d995a1a72bebc16cc927848ca5717c9c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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();
}