// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_BASE_UNIQUE_NOTIFIER_H_ #define CC_BASE_UNIQUE_NOTIFIER_H_ #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "cc/base/base_export.h" namespace base { class SequencedTaskRunner; } // namespace base namespace cc { // Callers must ensure that they only schedule the notifier on the same thread // that the provided |task_runner| runs on. class CC_BASE_EXPORT UniqueNotifier { … }; } // namespace cc #endif // CC_BASE_UNIQUE_NOTIFIER_H_