Index: base/lazy_instance.h |
diff --git a/base/lazy_instance.h b/base/lazy_instance.h |
index d0cc109ad6a250cc4140d2d1ae0e3fe294e7c749..d7754a78a8c30c52d646fa199f9e1f45ac464c44 100644 |
--- a/base/lazy_instance.h |
+++ b/base/lazy_instance.h |
@@ -76,6 +76,10 @@ class LazyInstanceHelper { |
base::subtle::Atomic32 state_; |
private: |
+ // Resets state of |helper| to STATE_EMPTY so that it can be reused. |
+ // Not thread safe. |
+ static void ResetState(void* helper); |
+ |
DISALLOW_COPY_AND_ASSIGN(LazyInstanceHelper); |
}; |