mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
21 lines
682 B
C++
21 lines
682 B
C++
// Copyright (c) 2011 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.
|
|
|
|
#ifndef BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
|
|
#define BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
|
|
|
|
#include "base/synchronization/atomic_flag.h"
|
|
|
|
namespace base {
|
|
|
|
// Use inheritance instead of "using" to allow forward declaration of "class
|
|
// CancellationFlag".
|
|
// TODO(fdoray): Replace CancellationFlag with AtomicFlag throughout the
|
|
// codebase and delete this file. crbug.com/630251
|
|
class CancellationFlag : public AtomicFlag {};
|
|
|
|
} // namespace base
|
|
|
|
#endif // BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
|