naiveproxy/base/synchronization/cancellation_flag.h

21 lines
682 B
C
Raw Permalink Normal View History

2018-01-28 19:30:36 +03:00
// 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_