Home
last modified time | relevance | path

Searched refs:run_loop (Results 1 – 25 of 183) sorted by relevance

12345678

/external/chromium_org/webkit/browser/fileapi/
Dasync_file_test_helper.cc24 void AssignAndQuit(base::RunLoop* run_loop, in AssignAndQuit() argument
28 run_loop->Quit(); in AssignAndQuit()
32 AssignAndQuitCallback(base::RunLoop* run_loop, in AssignAndQuitCallback() argument
34 return base::Bind(&AssignAndQuit, run_loop, base::Unretained(result)); in AssignAndQuitCallback()
37 void GetMetadataCallback(base::RunLoop* run_loop, in GetMetadataCallback() argument
45 run_loop->Quit(); in GetMetadataCallback()
49 base::RunLoop* run_loop, in CreateSnapshotFileCallback() argument
60 run_loop->Quit(); in CreateSnapshotFileCallback()
63 void ReadDirectoryCallback(base::RunLoop* run_loop, in ReadDirectoryCallback() argument
72 run_loop->Quit(); in ReadDirectoryCallback()
[all …]
/external/chromium_org/mojo/public/utility/
Drun_loop_unittest.cc71 RunLoop run_loop; in TEST_F() local
72 run_loop.Run(); in TEST_F()
81 void set_run_loop(RunLoop* run_loop) { run_loop_ = run_loop; } in set_run_loop() argument
101 RunLoop run_loop; in TEST_F() local
102 handler.set_run_loop(&run_loop); in TEST_F()
103 run_loop.AddHandler(&handler, test_pipe.handle_0.get(), in TEST_F()
105 run_loop.Run(); in TEST_F()
116 void set_run_loop(RunLoop* run_loop) { run_loop_ = run_loop; } in set_run_loop() argument
136 RunLoop run_loop; in TEST_F() local
137 handler.set_run_loop(&run_loop); in TEST_F()
[all …]
/external/chromium_org/chrome/test/chromedriver/net/
Dwebsocket_unittest.cc27 void OnConnectFinished(base::RunLoop* run_loop, int* save_error, int error) { in OnConnectFinished() argument
29 run_loop->Quit(); in OnConnectFinished()
33 base::RunLoop run_loop; in RunPending() local
34 loop->PostTask(FROM_HERE, run_loop.QuitClosure()); in RunPending()
35 run_loop.Run(); in RunPending()
65 explicit CloseListener(base::RunLoop* run_loop) in CloseListener() argument
66 : run_loop_(run_loop) {} in CloseListener()
103 base::RunLoop run_loop; in CreateWebSocket() local
104 sock->Connect(base::Bind(&OnConnectFinished, &run_loop, &error)); in CreateWebSocket()
106 FROM_HERE, run_loop.QuitClosure(), in CreateWebSocket()
[all …]
/external/chromium_org/chrome/browser/sync_file_system/
Dsync_file_system_service_unittest.cc58 void AssignValueAndQuit(base::RunLoop* run_loop, in AssignValueAndQuit() argument
64 DCHECK(run_loop); in AssignValueAndQuit()
67 run_loop->Quit(); in AssignValueAndQuit()
71 void VerifyFileError(base::RunLoop* run_loop, in VerifyFileError() argument
73 DCHECK(run_loop); in VerifyFileError()
75 run_loop->Quit(); in VerifyFileError()
163 base::RunLoop run_loop; in InitializeApp() local
178 AssignAndQuitCallback(&run_loop, &status)); in InitializeApp()
179 run_loop.Run(); in InitializeApp()
219 base::RunLoop run_loop; in InitializeAppForObserverTest() local
[all …]
Dsync_file_system_test_util.cc21 void AssignAndQuit(base::RunLoop* run_loop, R* result_out, R result) { in AssignAndQuit() argument
23 DCHECK(run_loop); in AssignAndQuit()
25 run_loop->Quit(); in AssignAndQuit()
29 AssignAndQuitCallback(base::RunLoop* run_loop, R* result) { in AssignAndQuitCallback() argument
30 return base::Bind(&AssignAndQuit<R>, run_loop, base::Unretained(result)); in AssignAndQuitCallback()
/external/chromium_org/dbus/
Dobject_proxy_unittest.cc38 void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop, in OnServiceIsAvailable() argument
41 ASSERT_TRUE(*run_loop); in OnServiceIsAvailable()
42 (*run_loop)->Quit(); in OnServiceIsAvailable()
46 scoped_ptr<base::RunLoop> run_loop; in TEST_F() local
50 base::Bind(&OnServiceIsAvailable, &run_loop)); in TEST_F()
61 run_loop.reset(new base::RunLoop); in TEST_F()
62 run_loop->Run(); in TEST_F()
65 run_loop.reset(new base::RunLoop); in TEST_F()
67 base::Bind(&OnServiceIsAvailable, &run_loop)); in TEST_F()
68 run_loop->Run(); in TEST_F()
/external/chromium_org/google_apis/drive/
Dgdata_wapi_requests_unittest.cc354 base::RunLoop run_loop; in TEST_F() local
363 &run_loop, in TEST_F()
366 run_loop.Run(); in TEST_F()
388 base::RunLoop run_loop; in TEST_F() local
397 &run_loop, in TEST_F()
400 run_loop.Run(); in TEST_F()
423 base::RunLoop run_loop; in TEST_F() local
432 &run_loop, in TEST_F()
435 run_loop.Run(); in TEST_F()
451 base::RunLoop run_loop; in TEST_F() local
[all …]
Ddrive_api_requests_unittest.cc390 base::RunLoop run_loop; in TEST_F() local
395 &run_loop, in TEST_F()
400 run_loop.Run(); in TEST_F()
430 base::RunLoop run_loop; in TEST_F() local
435 &run_loop, in TEST_F()
441 run_loop.Run(); in TEST_F()
477 base::RunLoop run_loop; in TEST_F() local
482 &run_loop, in TEST_F()
495 run_loop.Run(); in TEST_F()
523 base::RunLoop run_loop; in TEST_F() local
[all …]
Dbase_requests_unittest.cc155 base::RunLoop run_loop; in TEST_F() local
160 &run_loop, test_util::CreateCopyResultCallback(&error)), in TEST_F()
162 run_loop.Run(); in TEST_F()
173 base::RunLoop run_loop; in TEST_F() local
178 &run_loop, test_util::CreateCopyResultCallback(&error, &value)), in TEST_F()
180 run_loop.Run(); in TEST_F()
191 base::RunLoop run_loop; in TEST_F() local
196 &run_loop, test_util::CreateCopyResultCallback(&error, &value)), in TEST_F()
198 run_loop.Run(); in TEST_F()
Dbase_requests_server_unittest.cc76 base::RunLoop run_loop; in TEST_F() local
80 &run_loop, in TEST_F()
88 run_loop.Run(); in TEST_F()
110 base::RunLoop run_loop; in TEST_F() local
114 &run_loop, in TEST_F()
122 run_loop.Run(); in TEST_F()
/external/chromium_org/chrome/browser/policy/cloud/
Dcloud_policy_browsertest.cc202 base::RunLoop run_loop; in SetUpOnMainThread() local
205 InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); in SetUpOnMainThread()
219 run_loop.Run(); in SetUpOnMainThread()
278 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
280 policy_service->RefreshPolicies(run_loop.QuitClosure()); in IN_PROC_BROWSER_TEST_F()
281 run_loop.Run(); in IN_PROC_BROWSER_TEST_F()
292 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
294 policy_service->RefreshPolicies(run_loop.QuitClosure()); in IN_PROC_BROWSER_TEST_F()
295 run_loop.Run(); in IN_PROC_BROWSER_TEST_F()
308 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
[all …]
/external/chromium_org/content/browser/tracing/
Dtracing_controller_browsertest.cc119 base::RunLoop run_loop; in TestEnableAndDisableRecording() local
123 run_loop.QuitClosure()); in TestEnableAndDisableRecording()
127 run_loop.Run(); in TestEnableAndDisableRecording()
132 base::RunLoop run_loop; in TestEnableAndDisableRecording() local
136 run_loop.QuitClosure()); in TestEnableAndDisableRecording()
139 run_loop.Run(); in TestEnableAndDisableRecording()
151 base::RunLoop run_loop; in TestEnableCaptureAndDisableMonitoring() local
155 run_loop.QuitClosure()); in TestEnableCaptureAndDisableMonitoring()
159 run_loop.Run(); in TestEnableCaptureAndDisableMonitoring()
164 base::RunLoop run_loop; in TestEnableCaptureAndDisableMonitoring() local
[all …]
/external/chromium_org/chrome/test/base/
Dtesting_io_thread_state.cc25 base::Closure ThreadSafeQuit(base::RunLoop* run_loop) { in ThreadSafeQuit() argument
27 return run_loop->QuitClosure(); in ThreadSafeQuit()
34 run_loop->QuitClosure()); in ThreadSafeQuit()
55 base::RunLoop run_loop; in TestingIOThreadState() local
59 ThreadSafeQuit(&run_loop)))); in TestingIOThreadState()
60 run_loop.Run(); in TestingIOThreadState()
67 base::RunLoop run_loop; in ~TestingIOThreadState() local
71 ThreadSafeQuit(&run_loop)))); in ~TestingIOThreadState()
72 run_loop.Run(); in ~TestingIOThreadState()
/external/chromium_org/chrome_frame/test/
Dchrome_frame_automation_mock.cc20 base::RunLoop run_loop(NULL); in TEST() local
21 run_loop.Run(); in TEST()
34 base::RunLoop run_loop(NULL); in TEST() local
35 run_loop.Run(); in TEST()
48 base::RunLoop run_loop(NULL); in TEST() local
49 run_loop.Run(); in TEST()
62 base::RunLoop run_loop(NULL); in TEST() local
63 run_loop.Run(); in TEST()
/external/chromium_org/chrome/browser/sync_file_system/local/
Dlocal_file_sync_service_unittest.cc122 base::RunLoop run_loop; in SetUp() local
126 AssignAndQuitCallback(&run_loop, &status)); in SetUp()
127 run_loop.Run(); in SetUp()
155 base::RunLoop run_loop; in PrepareForProcessRemoteChange() local
160 run_loop.QuitClosure(), in PrepareForProcessRemoteChange()
163 run_loop.Run(); in PrepareForProcessRemoteChange()
171 base::RunLoop run_loop; in ApplyRemoteChange() local
174 AssignAndQuitCallback(&run_loop, &sync_status)); in ApplyRemoteChange()
175 run_loop.Run(); in ApplyRemoteChange()
178 base::RunLoop run_loop; in ApplyRemoteChange() local
[all …]
/external/chromium_org/chrome/browser/chromeos/login/
Donline_attempt_unittest.cc86 base::RunLoop run_loop; in TEST_F() local
88 .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) in TEST_F()
98 run_loop.Run(); in TEST_F()
109 base::RunLoop run_loop; in TEST_F() local
111 .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) in TEST_F()
124 run_loop.Run(); in TEST_F()
136 base::RunLoop run_loop; in TEST_F() local
138 .WillOnce(Invoke(&run_loop, &base::RunLoop::Quit)) in TEST_F()
149 run_loop.Run(); in TEST_F()
159 base::RunLoop run_loop; in TEST_F() local
[all …]
/external/chromium_org/content/browser/renderer_host/media/
Dvideo_capture_host_unittest.cc298 base::RunLoop run_loop; in OpenSession() local
312 DoAll(ExitMessageLoop(message_loop_, run_loop.QuitClosure()), in OpenSession()
314 run_loop.Run(); in OpenSession()
323 base::RunLoop run_loop; in OpenSession() local
339 DoAll(ExitMessageLoop(message_loop_, run_loop.QuitClosure()), in OpenSession()
342 run_loop.Run(); in OpenSession()
362 base::RunLoop run_loop; in StartCapture() local
365 message_loop_, run_loop.QuitClosure())); in StartCapture()
371 run_loop.Run(); in StartCapture()
378 base::RunLoop run_loop; in StartStopCapture() local
[all …]
/external/chromium_org/content/browser/gpu/
Dgpu_ipc_browsertests.cc111 base::RunLoop run_loop; in EstablishAndWait() local
114 run_loop.QuitClosure()); in EstablishAndWait()
115 run_loop.Run(); in EstablishAndWait()
152 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
155 run_loop.QuitClosure()); in IN_PROC_BROWSER_TEST_F()
159 run_loop.Run(); in IN_PROC_BROWSER_TEST_F()
191 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
195 base::Unretained(this), run_loop.QuitClosure(), &counter)); in IN_PROC_BROWSER_TEST_F()
201 run_loop.Run(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/common/gpu/client/
Dgpu_context_tests.h26 base::RunLoop run_loop; in TestSignalSyncPoint() local
27 context_support_->SignalSyncPoint(sync_point, run_loop.QuitClosure()); in TestSignalSyncPoint()
28 run_loop.Run(); in TestSignalSyncPoint()
33 base::RunLoop run_loop; in TestSignalQuery() local
37 &RunOnlyOnce, run_loop.QuitClosure(), base::Owned(new int(0)))); in TestSignalQuery()
38 run_loop.Run(); in TestSignalQuery()
/external/chromium_org/content/public/test/
Dtest_utils.cc84 base::RunLoop run_loop; in RunMessageLoop() local
85 RunThisRunLoop(&run_loop); in RunMessageLoop()
88 void RunThisRunLoop(base::RunLoop* run_loop) { in RunThisRunLoop() argument
99 delegate->PreRunMessageLoop(run_loop); in RunThisRunLoop()
100 run_loop->Run(); in RunThisRunLoop()
122 base::RunLoop run_loop; in RunAllPendingInMessageLoop() local
125 run_loop.QuitClosure())); in RunAllPendingInMessageLoop()
126 RunThisRunLoop(&run_loop); in RunAllPendingInMessageLoop()
129 base::Closure GetQuitTaskForRunLoop(base::RunLoop* run_loop) { in GetQuitTaskForRunLoop() argument
130 return base::Bind(&DeferredQuitRunLoop, run_loop->QuitClosure(), in GetQuitTaskForRunLoop()
/external/chromium_org/chrome/browser/sync/glue/
Dautofill_data_type_controller_unittest.cc86 base::RunLoop run_loop; in StartSyncableService() local
89 base::Unretained(this)), run_loop.QuitClosure()); in StartSyncableService()
90 run_loop.Run(); in StartSyncableService()
101 base::RunLoop run_loop; in CheckAutofillCullingValue() local
104 base::Unretained(this), &result), run_loop.QuitClosure()); in CheckAutofillCullingValue()
105 run_loop.Run(); in CheckAutofillCullingValue()
143 base::RunLoop run_loop; in Shutdown() local
145 base::Bind(&base::DoNothing), run_loop.QuitClosure())); in Shutdown()
146 run_loop.Run(); in Shutdown()
198 base::RunLoop run_loop; in BlockForDBThread() local
[all …]
/external/chromium_org/chrome/browser/chromeos/login/enrollment/
Denrollment_screen_browsertest.cc42 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
52 .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); in IN_PROC_BROWSER_TEST_F()
54 content::RunThisRunLoop(&run_loop); in IN_PROC_BROWSER_TEST_F()
86 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
96 .WillOnce(InvokeWithoutArgs(&run_loop, &base::RunLoop::Quit)); in IN_PROC_BROWSER_TEST_F()
98 content::RunThisRunLoop(&run_loop); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/net/server/
Dhttp_server_unittest.cc49 bool RunLoopWithTimeout(base::RunLoop* run_loop) { in RunLoopWithTimeout() argument
56 run_loop->QuitClosure()), in RunLoopWithTimeout()
58 run_loop->Run(); in RunLoopWithTimeout()
71 base::RunLoop run_loop; in ConnectAndWait() local
74 run_loop.QuitClosure())); in ConnectAndWait()
78 if (!RunLoopWithTimeout(&run_loop)) in ConnectAndWait()
153 base::RunLoop run_loop; in RunUntilRequestsReceived() local
154 run_loop_quit_func_ = run_loop.QuitClosure(); in RunUntilRequestsReceived()
155 bool success = RunLoopWithTimeout(&run_loop); in RunUntilRequestsReceived()
244 base::RunLoop run_loop; in TEST_F() local
[all …]
/external/chromium_org/media/audio/sounds/
Daudio_stream_handler_unittest.cc60 base::RunLoop run_loop; in TEST_F() local
61 TestObserver observer(run_loop.QuitClosure()); in TEST_F()
68 run_loop.Run(); in TEST_F()
78 base::RunLoop run_loop; in TEST_F() local
79 TestObserver observer(run_loop.QuitClosure()); in TEST_F()
99 run_loop.Run(); in TEST_F()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_browsertest.cc169 base::RunLoop run_loop; in RunBasicCopyFromBackingStoreTest() local
176 run_loop.QuitClosure())); in RunBasicCopyFromBackingStoreTest()
177 run_loop.Run(); in RunBasicCopyFromBackingStoreTest()
199 base::RunLoop run_loop; in GiveItSomeTime() local
202 run_loop.QuitClosure(), in GiveItSomeTime()
204 run_loop.Run(); in GiveItSomeTime()
363 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
368 base::Unretained(this), run_loop.QuitClosure())); in IN_PROC_BROWSER_TEST_F()
371 run_loop.Run(); in IN_PROC_BROWSER_TEST_F()
400 base::RunLoop run_loop; in IN_PROC_BROWSER_TEST_F() local
[all …]

12345678