Chromium Code Reviews| Index: base/synchronization/cancellation_flag.h |
| diff --git a/base/synchronization/cancellation_flag.h b/base/synchronization/cancellation_flag.h |
| index 51a4def1eb31984f0eafeb97dbd0d8678541ee59..d4aca56f58f16a7d1f34a7ffa2ec7607446c9314 100644 |
| --- a/base/synchronization/cancellation_flag.h |
| +++ b/base/synchronization/cancellation_flag.h |
| @@ -29,6 +29,8 @@ class BASE_EXPORT CancellationFlag { |
| void Set(); |
| bool IsSet() const; // Returns true iff the flag was set. |
| + void UnsafeResetForTesting(); |
|
Nico
2015/04/09 20:10:15
add method comment (explain how this is unsafe)
michaeln
2015/04/09 21:48:39
Done (but not sure what to say really)
// For s
|
| + |
| private: |
| base::subtle::Atomic32 flag_; |
| #if !defined(NDEBUG) |