/external/chromium_org/dbus/ |
object_proxy_unittest.cc | 7 #include "base/run_loop.h" 38 void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop, 41 ASSERT_TRUE(*run_loop); 42 (*run_loop)->Quit(); 46 scoped_ptr<base::RunLoop> run_loop; local 50 base::Bind(&OnServiceIsAvailable, &run_loop)); 61 run_loop.reset(new base::RunLoop); 62 run_loop->Run(); 65 run_loop.reset(new base::RunLoop); 67 base::Bind(&OnServiceIsAvailable, &run_loop)); [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_dispatcher_client.cc | 9 #include "base/run_loop.h" 24 scoped_ptr<base::RunLoop> run_loop(new base::RunLoop(dispatcher)); 26 scoped_ptr<base::RunLoop> run_loop(new base::RunLoop()); 28 *quit_closure = run_loop->QuitClosure(); 30 base::Bind(&base::RunLoop::Run, base::Owned(run_loop.release()));
|
/external/chromium_org/mojo/public/cpp/utility/tests/ |
run_loop_unittest.cc | 5 #include "mojo/public/cpp/utility/run_loop.h" 71 RunLoop run_loop; local 72 run_loop.Run(); 81 void set_run_loop(RunLoop* run_loop) { run_loop_ = run_loop; } 101 RunLoop run_loop; local 102 handler.set_run_loop(&run_loop); 103 run_loop.AddHandler(&handler, test_pipe.handle0.get(), 105 run_loop.Run(); 108 EXPECT_FALSE(run_loop.HasHandler(test_pipe.handle0.get())) 137 RunLoop run_loop; local 172 RunLoop run_loop; local 189 RunLoop run_loop; local 229 RunLoop run_loop; local 279 RunLoop run_loop; local 293 RunLoop run_loop; local 377 RunLoop run_loop; local 404 RunLoop run_loop; local 421 RunLoop* run_loop; member in struct:mojo::__anon13424::QuittingTask 427 RunLoop run_loop; local [all...] |
/external/chromium_org/content/public/test/ |
async_file_test_helper.cc | 8 #include "base/run_loop.h" 24 void AssignAndQuit(base::RunLoop* run_loop, 28 run_loop->Quit(); 32 AssignAndQuitCallback(base::RunLoop* run_loop, 34 return base::Bind(&AssignAndQuit, run_loop, base::Unretained(result)); 37 void GetMetadataCallback(base::RunLoop* run_loop, 45 run_loop->Quit(); 49 base::RunLoop* run_loop, 60 run_loop->Quit(); 63 void ReadDirectoryCallback(base::RunLoop* run_loop, 106 base::RunLoop run_loop; local 121 base::RunLoop run_loop; local 135 base::RunLoop run_loop; local 149 base::RunLoop run_loop; local 160 base::RunLoop run_loop; local 174 base::RunLoop run_loop; local 194 base::RunLoop run_loop; local 205 base::RunLoop run_loop; local 218 base::RunLoop run_loop; local 231 base::RunLoop run_loop; local [all...] |
/external/chromium_org/chrome/test/base/ |
testing_io_thread_state.cc | 8 #include "base/run_loop.h" 23 base::Closure ThreadSafeQuit(base::RunLoop* run_loop) { 25 return run_loop->QuitClosure(); 32 run_loop->QuitClosure()); 53 base::RunLoop run_loop; local 57 ThreadSafeQuit(&run_loop)))); 58 run_loop.Run(); 65 base::RunLoop run_loop; local 69 ThreadSafeQuit(&run_loop)))); 70 run_loop.Run() [all...] |
/external/chromium_org/remoting/host/ |
chromoting_host_context_unittest.cc | 6 #include "base/run_loop.h" 17 base::RunLoop run_loop; local 21 message_loop.message_loop_proxy(), run_loop.QuitClosure())); 35 run_loop.Run();
|
/external/chromium_org/ui/views_content_client/ |
views_content_client_main_parts.cc | 7 #include "base/run_loop.h" 35 base::RunLoop run_loop; local 36 run_loop.Run();
|
/external/chromium_org/content/common/gpu/client/ |
gpu_context_tests.h | 10 #include "base/run_loop.h" 26 base::RunLoop run_loop; local 27 context_support_->SignalSyncPoint(sync_point, run_loop.QuitClosure()); 28 run_loop.Run(); 33 base::RunLoop run_loop; local 37 &RunOnlyOnce, run_loop.QuitClosure(), base::Owned(new int(0)))); 38 run_loop.Run();
|
/external/chromium_org/chrome/test/chromedriver/net/ |
websocket_unittest.cc | 15 #include "base/run_loop.h" 27 void OnConnectFinished(base::RunLoop* run_loop, int* save_error, int error) { 29 run_loop->Quit(); 33 base::RunLoop run_loop; local 34 loop->PostTask(FROM_HERE, run_loop.QuitClosure()); 35 run_loop.Run(); 65 explicit CloseListener(base::RunLoop* run_loop) 66 : run_loop_(run_loop) {} 103 base::RunLoop run_loop; local 104 sock->Connect(base::Bind(&OnConnectFinished, &run_loop, &error)) 125 base::RunLoop run_loop; local 171 base::RunLoop run_loop; local 183 base::RunLoop run_loop; local [all...] |
/external/chromium_org/content/browser/webui/ |
web_ui_mojo_browsertest.cc | 11 #include "base/run_loop.h" 65 explicit BrowserTargetImpl(base::RunLoop* run_loop) : run_loop_(run_loop) {} 83 explicit PingBrowserTargetImpl(base::RunLoop* run_loop) 84 : BrowserTargetImpl(run_loop) {} 106 TestWebUIController(WebUI* web_ui, base::RunLoop* run_loop) 108 run_loop_(run_loop) { 127 PingTestWebUIController(WebUI* web_ui, base::RunLoop* run_loop) 128 : TestWebUIController(web_ui, run_loop) { 153 void set_run_loop(base::RunLoop* run_loop) { run_loop_ = run_loop; 221 base::RunLoop run_loop; local [all...] |
/external/chromium_org/chrome/browser/sync_file_system/ |
sync_file_system_test_util.cc | 8 #include "base/run_loop.h" 23 void AssignAndQuit(base::RunLoop* run_loop, R* result_out, R result) { 25 DCHECK(run_loop); 27 run_loop->Quit(); 31 AssignAndQuitCallback(base::RunLoop* run_loop, R* result) { 32 return base::Bind(&AssignAndQuit<R>, run_loop, base::Unretained(result));
|
sync_file_system_service_unittest.cc | 9 #include "base/run_loop.h" 62 void AssignValueAndQuit(base::RunLoop* run_loop, 68 DCHECK(run_loop); 71 run_loop->Quit(); 75 void VerifyFileError(base::RunLoop* run_loop, 77 DCHECK(run_loop); 79 run_loop->Quit(); 175 base::RunLoop run_loop; local 190 AssignAndQuitCallback(&run_loop, &status)); 191 run_loop.Run() 231 base::RunLoop run_loop; local 330 base::RunLoop run_loop; local 375 base::RunLoop run_loop; local 396 base::RunLoop run_loop; local 458 base::RunLoop run_loop; local 473 base::RunLoop run_loop; local [all...] |
/external/chromium_org/mojo/services/window_manager/ |
window_manager_api_unittest.cc | 30 // |run_loop| the nested RunLoop. 31 void ResultCallback(bool* result_cache, base::RunLoop* run_loop, bool result) { 33 run_loop->Quit(); 41 base::RunLoop run_loop; local 45 base::Bind(&ResultCallback, &result, &run_loop)); 46 run_loop.Run(); 55 explicit TestWindowManagerClient(base::RunLoop* run_loop) 56 : run_loop_(run_loop) {} 164 base::RunLoop run_loop; local 166 base::Unretained(this), &id, &run_loop); 173 base::RunLoop run_loop; local 183 base::RunLoop run_loop; local [all...] |
/external/chromium_org/ui/wm/core/ |
nested_accelerator_controller.cc | 9 #include "base/run_loop.h" 33 scoped_ptr<base::RunLoop> run_loop = accelerator_dispatcher_->CreateRunLoop(); local 37 run_loop->QuitClosure()); 40 base::Passed(&run_loop), 45 scoped_ptr<base::RunLoop> run_loop, 47 run_loop->Run();
|
/external/chromium_org/ui/views/controls/menu/ |
menu_message_loop_aura.cc | 11 #include "base/run_loop.h" 146 aura::client::DispatcherRunLoop run_loop( 148 message_loop_quit_ = run_loop.QuitClosure(); 149 run_loop.Run(); 153 base::RunLoop run_loop(&nested_dispatcher); 154 message_loop_quit_ = run_loop.QuitClosure(); 155 run_loop.Run(); 170 aura::client::DispatcherRunLoop run_loop( 172 message_loop_quit_ = run_loop.QuitClosure(); 173 run_loop.Run() 177 base::RunLoop run_loop; local [all...] |
menu_message_loop_mac.cc | 9 #include "base/run_loop.h" 36 base::RunLoop run_loop; local 37 run_loop.Run();
|
/external/chromium_org/chrome/browser/extensions/ |
extension_install_prompt_unittest.cc | 7 #include "base/run_loop.h" 56 base::RunLoop run_loop; local 59 run_loop.QuitClosure(), 65 run_loop.Run(); 87 base::RunLoop run_loop; local 95 run_loop.QuitClosure(), 98 run_loop.Run();
|
/external/chromium_org/content/browser/tracing/ |
tracing_controller_browsertest.cc | 7 #include "base/run_loop.h" 132 base::RunLoop run_loop; local 136 run_loop.QuitClosure()); 140 run_loop.Run(); 145 base::RunLoop run_loop; local 149 run_loop.QuitClosure()); 153 run_loop.Run(); 165 base::RunLoop run_loop; local 169 run_loop.QuitClosure()); 173 run_loop.Run() 178 base::RunLoop run_loop; local 212 base::RunLoop run_loop; local 244 base::RunLoop run_loop; local 257 base::RunLoop run_loop; local 299 base::RunLoop run_loop; local [all...] |
/external/chromium_org/media/audio/sounds/ |
audio_stream_handler_unittest.cc | 11 #include "base/run_loop.h" 60 base::RunLoop run_loop; local 61 TestObserver observer(run_loop.QuitClosure()); 68 run_loop.Run(); 78 base::RunLoop run_loop; local 79 TestObserver observer(run_loop.QuitClosure()); 99 run_loop.Run();
|
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
enrollment_screen_browsertest.cc | 8 #include "base/run_loop.h" 43 base::RunLoop run_loop; local 53 .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); 55 content::RunThisRunLoop(&run_loop); 71 base::RunLoop run_loop; local 81 run_loop.RunUntilIdle(); 113 base::RunLoop run_loop; local 123 .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); 125 content::RunThisRunLoop(&run_loop);
|
/external/chromium_org/google_apis/drive/ |
drive_api_requests_unittest.cc | 11 #include "base/run_loop.h" 398 base::RunLoop run_loop; local 403 &run_loop, 408 run_loop.Run(); 442 base::RunLoop run_loop; local 447 &run_loop, 456 run_loop.Run(); 498 base::RunLoop run_loop; local 503 &run_loop, 516 run_loop.Run() 544 base::RunLoop run_loop; local 578 base::RunLoop run_loop; local 605 base::RunLoop run_loop; local 632 base::RunLoop run_loop; local 661 base::RunLoop run_loop; local 692 base::RunLoop run_loop; local 731 base::RunLoop run_loop; local 763 base::RunLoop run_loop; local 791 base::RunLoop run_loop; local 814 base::RunLoop run_loop; local 844 base::RunLoop run_loop; local 873 base::RunLoop run_loop; local 902 base::RunLoop run_loop; local 938 base::RunLoop run_loop; local 977 base::RunLoop run_loop; local 1030 base::RunLoop run_loop; local 1068 base::RunLoop run_loop; local 1119 base::RunLoop run_loop; local 1161 base::RunLoop run_loop; local 1202 base::RunLoop run_loop; local 1251 base::RunLoop run_loop; local 1298 base::RunLoop run_loop; local 1351 base::RunLoop run_loop; local 1385 base::RunLoop run_loop; local 1438 base::RunLoop run_loop; local 1472 base::RunLoop run_loop; local 1527 base::RunLoop run_loop; local 1572 base::RunLoop run_loop; local 1611 base::RunLoop run_loop; local 1668 base::RunLoop run_loop; local 1719 base::RunLoop run_loop; local 1756 base::RunLoop run_loop; local 1790 base::RunLoop run_loop; local 1824 base::RunLoop run_loop; local [all...] |
/external/chromium_org/chrome/browser/search/suggestions/ |
image_manager_impl_browsertest.cc | 8 #include "base/run_loop.h" 90 base::RunLoop run_loop; local 95 base::Unretained(this), &run_loop)); 96 run_loop.Run(); 177 base::RunLoop run_loop; local 182 base::Unretained(this), &run_loop)); 183 run_loop.Run(); 206 base::RunLoop run_loop; local 212 base::Unretained(this), &run_loop)); 214 run_loop.Run() 233 base::RunLoop run_loop; local 266 base::RunLoop run_loop; local [all...] |
/external/chromium_org/mojo/services/clipboard/ |
clipboard_standalone_unittest.cc | 15 base::RunLoop* run_loop, 18 run_loop->Quit(); 23 base::RunLoop* run_loop, 27 run_loop->Quit(); 31 base::RunLoop* run_loop, 34 run_loop->Quit(); 59 base::RunLoop run_loop; local 63 base::Bind(&CopyUint64AndEndRunloop, &sequence_num, &run_loop)); 64 run_loop.Run(); 69 base::RunLoop run_loop; local 80 base::RunLoop run_loop; local [all...] |
/external/chromium_org/content/browser/ |
storage_partition_impl_unittest.cc | 7 #include "base/run_loop.h" 292 base::RunLoop* run_loop) { 297 delete_begin, delete_end, run_loop->QuitClosure()); 305 base::RunLoop* run_loop) { 309 run_loop->QuitClosure()); 313 base::RunLoop* run_loop) { 319 time, time, run_loop->QuitClosure()); 405 base::RunLoop run_loop; local 410 &run_loop)); 411 run_loop.Run() 477 base::RunLoop run_loop; local 504 base::RunLoop run_loop; local 531 base::RunLoop run_loop; local 556 base::RunLoop run_loop; local 583 base::RunLoop run_loop; local 612 base::RunLoop run_loop; local 637 base::RunLoop run_loop; local 677 base::RunLoop run_loop; local 714 base::RunLoop run_loop; local 745 base::RunLoop run_loop; local 776 base::RunLoop run_loop; local 805 base::RunLoop run_loop; local 826 base::RunLoop run_loop; local 853 base::RunLoop run_loop; local 885 base::RunLoop run_loop; local 914 base::RunLoop run_loop; local [all...] |
/external/chromium_org/content/browser/gpu/ |
gpu_ipc_browsertests.cc | 6 #include "base/run_loop.h" 105 base::RunLoop run_loop; local 106 GetFactory()->EstablishGpuChannel(kInitCause, run_loop.QuitClosure()); 107 run_loop.Run(); 143 base::RunLoop run_loop; local 144 GetFactory()->EstablishGpuChannel(kInitCause, run_loop.QuitClosure()); 148 run_loop.Run(); 177 base::RunLoop run_loop; local 181 base::Unretained(this), run_loop.QuitClosure(), &counter)); 187 run_loop.Run() [all...] |