chromium/base/one_shot_event.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/one_shot_event.h"

#include <stddef.h>

#include <algorithm>
#include <utility>

#include "base/functional/callback.h"
#include "base/location.h"
#include "base/sequence_checker.h"
#include "base/task/task_runner.h"
#include "base/time/time.h"

namespace base {

struct OneShotEvent::TaskInfo {};

OneShotEvent::OneShotEvent() {}
OneShotEvent::OneShotEvent(bool signaled) :{}
OneShotEvent::~OneShotEvent() = default;

void OneShotEvent::Post(const Location& from_here,
                        OnceClosure task,
                        scoped_refptr<TaskRunner> runner) const {}

void OneShotEvent::PostDelayed(const Location& from_here,
                               OnceClosure task,
                               const TimeDelta& delay,
                               scoped_refptr<TaskRunner> runner) const {}

void OneShotEvent::Signal() {}

}  // namespace base