Home | History | Annotate | Download | only in synchronization
      1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
      6 #define BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
      7 
      8 #include "base/synchronization/atomic_flag.h"
      9 
     10 namespace base {
     11 
     12 // Use inheritance instead of "using" to allow forward declaration of "class
     13 // CancellationFlag".
     14 // TODO(fdoray): Replace CancellationFlag with AtomicFlag throughout the
     15 // codebase and delete this file. crbug.com/630251
     16 class CancellationFlag : public AtomicFlag {};
     17 
     18 }  // namespace base
     19 
     20 #endif  // BASE_SYNCHRONIZATION_CANCELLATION_FLAG_H_
     21