chromium/mojo/public/cpp/bindings/lib/sync_event_watcher.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "mojo/public/cpp/bindings/sync_event_watcher.h"

#include <algorithm>
#include <utility>

#include "base/check_op.h"
#include "base/memory/scoped_refptr.h"
#include "base/synchronization/waitable_event.h"
#include "third_party/abseil-cpp/absl/container/inlined_vector.h"

namespace mojo {

SyncEventWatcher::SyncEventWatcher(base::WaitableEvent* event,
                                   base::RepeatingClosure callback)
    :{}

SyncEventWatcher::~SyncEventWatcher() {}

void SyncEventWatcher::AllowWokenUpBySyncWatchOnSameThread() {}

bool SyncEventWatcher::SyncWatch(const bool** stop_flags,
                                 size_t num_stop_flags) {}

void SyncEventWatcher::IncrementRegisterCount() {}

void SyncEventWatcher::DecrementRegisterCount() {}

}  // namespace mojo