Searched refs:SetIOAllowed (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/base/threading/
H A Dthread_restrictions.cc29 bool ThreadRestrictions::SetIOAllowed(bool allowed) { function in class:base::ThreadRestrictions
42 "base::ThreadRestrictions::SetIOAllowed() in this thread's "
H A Dthread_restrictions.h103 // base::ThreadRestrictions::SetIOAllowed(false);
125 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); }
126 ~ScopedAllowIO() { SetIOAllowed(previous_value_); }
152 static bool SetIOAllowed(bool allowed);
176 static bool SetIOAllowed(bool allowed) { return true; } function in class:base::ThreadRestrictions
/external/chromium_org/content/browser/
H A Dbrowser_process_sub_thread.cc42 base::ThreadRestrictions::SetIOAllowed(false);
H A Dbrowser_main_loop.cc740 base::ThreadRestrictions::SetIOAllowed(false);
767 base::ThreadRestrictions::SetIOAllowed(true);
770 base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed),
/external/chromium_org/dbus/
H A Dsignal_sender_verification_unittest.cc35 base::ThreadRestrictions::SetIOAllowed(false);
105 base::ThreadRestrictions::SetIOAllowed(true);
162 base::ThreadRestrictions::SetIOAllowed(true);
164 base::ThreadRestrictions::SetIOAllowed(false);
H A Dproperty_unittest.cc54 base::ThreadRestrictions::SetIOAllowed(false);
97 base::ThreadRestrictions::SetIOAllowed(true);
H A Dend_to_end_async_unittest.cc42 base::ThreadRestrictions::SetIOAllowed(false);
126 base::ThreadRestrictions::SetIOAllowed(true);
H A Dobject_manager_unittest.cc64 base::ThreadRestrictions::SetIOAllowed(false);
103 base::ThreadRestrictions::SetIOAllowed(true);
/external/chromium_org/net/base/
H A Dnetwork_config_watcher_mac.cc70 base::ThreadRestrictions::SetIOAllowed(false);
H A Dfile_stream_unittest.cc761 bool prev = base::ThreadRestrictions::SetIOAllowed(false);
785 base::ThreadRestrictions::SetIOAllowed(prev);
/external/chromium_org/base/files/
H A Dfile_proxy_unittest.cc145 bool prev = ThreadRestrictions::SetIOAllowed(false);
154 ThreadRestrictions::SetIOAllowed(prev);
/external/chromium_org/chrome/browser/metrics/
H A Dthread_watcher.cc896 base::ThreadRestrictions::SetIOAllowed(false);
1028 base::ThreadRestrictions::SetIOAllowed(true);
/external/chromium_org/net/disk_cache/
H A Dbackend_unittest.cc466 bool prev = base::ThreadRestrictions::SetIOAllowed(false);
471 base::ThreadRestrictions::SetIOAllowed(prev);
1975 bool prev = base::ThreadRestrictions::SetIOAllowed(false);
1988 base::ThreadRestrictions::SetIOAllowed(prev);
/external/chromium_org/content/renderer/
H A Drender_thread_impl.cc870 base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed),

Completed in 469 milliseconds