HomeSort by relevance Sort by last modified time
    Searched defs:ScopedAllowIO (Results 1 - 2 of 2) sorted by null

  /external/chromium/base/threading/
thread_restrictions.h 41 // Constructing a ScopedAllowIO temporarily allows IO for the current
43 class BASE_API ScopedAllowIO {
45 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); }
46 ~ScopedAllowIO() { SetIOAllowed(previous_value_); }
48 // Whether IO is allowed when the ScopedAllowIO was constructed.
51 DISALLOW_COPY_AND_ASSIGN(ScopedAllowIO);
  /external/chromium_org/base/threading/
thread_restrictions.h 114 // Constructing a ScopedAllowIO temporarily allows IO for the current
116 class BASE_EXPORT ScopedAllowIO {
118 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); }
119 ~ScopedAllowIO() { SetIOAllowed(previous_value_); }
121 // Whether IO is allowed when the ScopedAllowIO was constructed.
124 DISALLOW_COPY_AND_ASSIGN(ScopedAllowIO);

Completed in 1152 milliseconds