Home
last modified time | relevance | path

Searched refs:SetIOAllowed (Results 1 – 24 of 24) sorted by relevance

/external/chromium/base/threading/
Dthread_restrictions.h45 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); } in ScopedAllowIO()
46 ~ScopedAllowIO() { SetIOAllowed(previous_value_); } in ~ScopedAllowIO()
72 static bool SetIOAllowed(bool allowed);
89 static bool SetIOAllowed(bool allowed) { return true; } in SetIOAllowed() function
Dthread_restrictions.cc27 bool ThreadRestrictions::SetIOAllowed(bool allowed) { in SetIOAllowed() function in base::ThreadRestrictions
/external/chromium_org/base/threading/
Dthread_restrictions.h118 ScopedAllowIO() { previous_value_ = SetIOAllowed(true); } in ScopedAllowIO()
119 ~ScopedAllowIO() { SetIOAllowed(previous_value_); } in ~ScopedAllowIO()
145 static bool SetIOAllowed(bool allowed);
169 static bool SetIOAllowed(bool allowed) { return true; } in SetIOAllowed() function
Dthread_restrictions.cc29 bool ThreadRestrictions::SetIOAllowed(bool allowed) { in SetIOAllowed() function in base::ThreadRestrictions
/external/chromium_org/dbus/
Dsignal_sender_verification_unittest.cc34 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
101 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
157 base::ThreadRestrictions::SetIOAllowed(true); in SafeServiceStop()
159 base::ThreadRestrictions::SetIOAllowed(false); in SafeServiceStop()
Dproperty_unittest.cc51 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
94 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
Dobject_manager_unittest.cc63 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
103 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
Dend_to_end_async_unittest.cc41 base::ThreadRestrictions::SetIOAllowed(false); in SetUp()
122 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
/external/chromium_org/content/public/test/
Dbrowser_test_base.cc229 base::ThreadRestrictions::SetIOAllowed(true); in SetUp()
232 base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed), in SetUp()
/external/chromium_org/content/browser/
Dbrowser_process_sub_thread.cc42 base::ThreadRestrictions::SetIOAllowed(false); in Init()
Dbrowser_main_loop.cc718 base::ThreadRestrictions::SetIOAllowed(false); in PreMainMessageLoopRun()
745 base::ThreadRestrictions::SetIOAllowed(true); in ShutdownThreadsAndCleanUp()
748 base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed), in ShutdownThreadsAndCleanUp()
/external/chromium/net/base/
Dnetwork_config_watcher_mac.cc68 base::ThreadRestrictions::SetIOAllowed(false); in Init()
/external/chromium_org/net/base/
Dnetwork_config_watcher_mac.cc70 base::ThreadRestrictions::SetIOAllowed(false); in Init()
/external/chromium_org/chrome/browser/ui/cocoa/
Dprofile_menu_controller_unittest.mm242 const bool io_was_allowed = base::ThreadRestrictions::SetIOAllowed(false);
244 base::ThreadRestrictions::SetIOAllowed(io_was_allowed);
/external/chromium/chrome/browser/
Dbrowser_shutdown.cc124 base::ThreadRestrictions::SetIOAllowed(true); in Shutdown()
Dbrowser_process_impl.cc310 base::ThreadRestrictions::SetIOAllowed(true); in ReleaseModule()
313 NewRunnableFunction(&base::ThreadRestrictions::SetIOAllowed, true)); in ReleaseModule()
Dio_thread.cc412 base::ThreadRestrictions::SetIOAllowed(false); in Init()
Dbrowser_main.cc583 base::ThreadRestrictions::SetIOAllowed(false); in RunUIMessageLoop()
/external/chromium_org/chrome/browser/metrics/
Dthread_watcher.cc832 base::ThreadRestrictions::SetIOAllowed(false); in Init()
934 base::ThreadRestrictions::SetIOAllowed(true); in DeleteStartupWatchdog()
/external/chromium/chrome/browser/metrics/
Dthread_watcher.cc406 base::ThreadRestrictions::SetIOAllowed(false); in Init()
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_unittest.cc145 base::ThreadRestrictions::SetIOAllowed(false); // For strict thread check. in SetUp()
186 base::ThreadRestrictions::SetIOAllowed(true); in TearDown()
/external/chromium_org/chrome_frame/test/net/
Dfake_external_tab.cc866 base::ThreadRestrictions::SetIOAllowed(true); in MainMessageLoopRun()
/external/chromium_org/net/disk_cache/
Dbackend_unittest.cc463 bool prev = base::ThreadRestrictions::SetIOAllowed(false); in TEST_F()
468 base::ThreadRestrictions::SetIOAllowed(prev); in TEST_F()
1954 bool prev = base::ThreadRestrictions::SetIOAllowed(false); in TEST_F()
1968 base::ThreadRestrictions::SetIOAllowed(prev); in TEST_F()
/external/chromium_org/content/renderer/
Drender_thread_impl.cc667 base::Bind(base::IgnoreResult(&ThreadRestrictions::SetIOAllowed), in EnsureWebKitInitialized()