Searched defs:ScopedAllowIO (Results 1 - 1 of 1) sorted by relevance
/external/chromium_org/base/threading/ | ||
H A D | thread_restrictions.h | 121 // Constructing a ScopedAllowIO temporarily allows IO for the current 123 class BASE_EXPORT ScopedAllowIO { class in class:base::ThreadRestrictions 125 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); } function in class:base::ThreadRestrictions::ScopedAllowIO 126 ~ScopedAllowIO() { SetIOAllowed(previous_value_); } 128 // Whether IO is allowed when the ScopedAllowIO was constructed. 131 DISALLOW_COPY_AND_ASSIGN(ScopedAllowIO); |
Completed in 70 milliseconds