Searched refs:run_loop (Results 1 - 25 of 269) sorted by relevance

1234567891011

/external/chromium_org/dbus/
H A Dobject_proxy_unittest.cc7 #include "base/run_loop.h"
38 void OnServiceIsAvailable(scoped_ptr<base::RunLoop>* run_loop, argument
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/
H A Ddesktop_dispatcher_client.cc9 #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/
H A Drun_loop_unittest.cc5 #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; } argument
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
117 set_run_loop(RunLoop* run_loop) argument
137 RunLoop run_loop; local
153 set_run_loop(RunLoop* run_loop) argument
172 RunLoop run_loop; local
189 RunLoop run_loop; local
205 set_run_loop(RunLoop* run_loop) argument
229 RunLoop run_loop; local
258 set_run_loop(RunLoop* run_loop) argument
279 RunLoop run_loop; local
293 RunLoop run_loop; local
312 set_run_loop(RunLoop* run_loop) argument
377 RunLoop run_loop; local
404 RunLoop run_loop; local
417 QuittingTask(RunLoop* run_loop) argument
421 RunLoop* run_loop; member in struct:mojo::__anon8799::QuittingTask
427 RunLoop run_loop; local
[all...]
/external/chromium_org/content/public/test/
H A Dasync_file_test_helper.cc8 #include "base/run_loop.h"
24 void AssignAndQuit(base::RunLoop* run_loop, argument
28 run_loop->Quit();
32 AssignAndQuitCallback(base::RunLoop* run_loop, argument
34 return base::Bind(&AssignAndQuit, run_loop, base::Unretained(result));
37 void GetMetadataCallback(base::RunLoop* run_loop, argument
45 run_loop->Quit();
49 base::RunLoop* run_loop,
60 run_loop->Quit();
63 void ReadDirectoryCallback(base::RunLoop* run_loop, argument
48 CreateSnapshotFileCallback( base::RunLoop* run_loop, base::File::Error* result_out, base::FilePath* platform_path_out, base::File::Error result, const base::File::Info& file_info, const base::FilePath& platform_path, const scoped_refptr<storage::ShareableFileReference>& file_ref) argument
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/
H A Dtesting_io_thread_state.cc8 #include "base/run_loop.h"
23 base::Closure ThreadSafeQuit(base::RunLoop* run_loop) { argument
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
[all...]
/external/chromium_org/remoting/host/
H A Dchromoting_host_context_unittest.cc6 #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/
H A Dviews_content_client_main_parts.cc7 #include "base/run_loop.h"
35 base::RunLoop run_loop; local
36 run_loop.Run();
/external/chromium_org/content/common/gpu/client/
H A Dgpu_context_tests.h10 #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/
H A Dwebsocket_unittest.cc15 #include "base/run_loop.h"
27 void OnConnectFinished(base::RunLoop* run_loop, int* save_error, int error) { argument
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) argument
66 : run_loop_(run_loop) {}
103 base::RunLoop run_loop; local
104 sock->Connect(base::Bind(&OnConnectFinished, &run_loop,
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/
H A Dweb_ui_mojo_browsertest.cc11 #include "base/run_loop.h"
65 explicit BrowserTargetImpl(base::RunLoop* run_loop) : run_loop_(run_loop) {} argument
83 explicit PingBrowserTargetImpl(base::RunLoop* run_loop) argument
84 : BrowserTargetImpl(run_loop) {}
106 TestWebUIController(WebUI* web_ui, base::RunLoop* run_loop) argument
108 run_loop_(run_loop) {
127 PingTestWebUIController(WebUI* web_ui, base::RunLoop* run_loop) argument
128 : TestWebUIController(web_ui, run_loop) {
153 void set_run_loop(base::RunLoop* run_loop) { run_loop argument
221 base::RunLoop run_loop; local
[all...]
/external/chromium_org/chrome/browser/sync_file_system/
H A Dsync_file_system_test_util.cc8 #include "base/run_loop.h"
23 void AssignAndQuit(base::RunLoop* run_loop, R* result_out, R result) { argument
25 DCHECK(run_loop);
27 run_loop->Quit();
31 AssignAndQuitCallback(base::RunLoop* run_loop, R* result) { argument
32 return base::Bind(&AssignAndQuit<R>, run_loop, base::Unretained(result));
H A Dsync_file_system_service_unittest.cc9 #include "base/run_loop.h"
62 void AssignValueAndQuit(base::RunLoop* run_loop, argument
68 DCHECK(run_loop);
71 run_loop->Quit();
75 void VerifyFileError(base::RunLoop* run_loop, argument
77 DCHECK(run_loop);
79 run_loop->Quit();
175 base::RunLoop run_loop; local
190 AssignAndQuitCallback(&run_loop, &status));
191 run_loop
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/
H A Dwindow_manager_api_unittest.cc30 // |run_loop| the nested RunLoop.
31 void ResultCallback(bool* result_cache, base::RunLoop* run_loop, bool result) { argument
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) argument
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
243 OnFocusChanged(TwoIds* old_and_new, base::RunLoop* run_loop, Id old_focused_node_id, Id new_focused_node_id) argument
253 OnActiveWindowChanged(TwoIds* old_and_new, base::RunLoop* run_loop, Id old_focused_node_id, Id new_focused_node_id) argument
[all...]
/external/chromium_org/ui/wm/core/
H A Dnested_accelerator_controller.cc9 #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();
44 RunNestedMessageLoop( scoped_ptr<base::RunLoop> run_loop, scoped_ptr<NestedAcceleratorDispatcher> old_accelerator_dispatcher) argument
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_message_loop_aura.cc11 #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
177 base::RunLoop run_loop; local
[all...]
H A Dmenu_message_loop_mac.cc9 #include "base/run_loop.h"
36 base::RunLoop run_loop; local
37 run_loop.Run();
/external/chromium_org/chrome/browser/extensions/
H A Dextension_install_prompt_unittest.cc7 #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/
H A Dtracing_controller_browsertest.cc7 #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
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/
H A Daudio_stream_handler_unittest.cc11 #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/
H A Denrollment_screen_browsertest.cc8 #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/
H A Ddrive_api_requests_unittest.cc11 #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
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/
H A Dimage_manager_impl_browsertest.cc8 #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
233 base::RunLoop run_loop; local
266 base::RunLoop run_loop; local
[all...]
/external/chromium_org/mojo/services/clipboard/
H A Dclipboard_standalone_unittest.cc15 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
14 CopyUint64AndEndRunloop(uint64_t* output, base::RunLoop* run_loop, uint64_t input) argument
21 CopyStringAndEndRunloop(std::string* output, bool* string_is_null, base::RunLoop* run_loop, const mojo::Array<uint8_t>& input) argument
30 CopyVectorStringAndEndRunloop(std::vector<std::string>* output, base::RunLoop* run_loop, const mojo::Array<mojo::String>& input) argument
80 base::RunLoop run_loop; local
[all...]
/external/chromium_org/content/browser/
H A Dstorage_partition_impl_unittest.cc7 #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
289 ClearCookies(content::StoragePartition* partition, const base::Time delete_begin, const base::Time delete_end, base::RunLoop* run_loop) argument
300 ClearStuff(uint32 remove_mask, content::StoragePartition* partition, const base::Time delete_begin, const base::Time delete_end, const StoragePartition::OriginMatcherFunction& origin_matcher, base::RunLoop* run_loop) argument
312 ClearData(content::StoragePartition* partition, base::RunLoop* run_loop) argument
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/chrome/browser/plugins/
H A Dplugin_installer_unittest.cc8 #include "base/run_loop.h"
103 base::RunLoop run_loop; local
112 InvokeClosure(run_loop.QuitClosure())));
118 run_loop.Run();
133 base::RunLoop run_loop; local
143 InvokeClosure(run_loop.QuitClosure())));
148 run_loop.Run();
160 base::RunLoop run_loop; local
169 InvokeClosure(run_loop.QuitClosure())));
175 run_loop
[all...]

Completed in 587 milliseconds

1234567891011