Searched refs:SetIOAllowed (Results 1 – 2 of 2) sorted by relevance
129 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); } in ScopedAllowIO()130 ~ScopedAllowIO() { SetIOAllowed(previous_value_); } in ~ScopedAllowIO()142 static bool SetIOAllowed(bool allowed);166 static bool SetIOAllowed(bool allowed) { return true; } in SetIOAllowed() function
29 bool ThreadRestrictions::SetIOAllowed(bool allowed) { in SetIOAllowed() function in base::ThreadRestrictions