Searched refs:MessageLoop (Results 1 - 25 of 1827) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/cpp/private/
H A Dflash_message_loop.cc24 MessageLoop::MessageLoop(const InstanceHandle& instance) { function in class:pp::flash::MessageLoop
31 MessageLoop::~MessageLoop() {
35 bool MessageLoop::IsAvailable() {
39 int32_t MessageLoop::Run() {
45 void MessageLoop::Quit() {
H A Dflash_message_loop.h17 class MessageLoop : public Resource { class in namespace:pp::flash
19 explicit MessageLoop(const InstanceHandle& instance);
20 virtual ~MessageLoop();
/external/chromium_org/ppapi/cpp/
H A Dmessage_loop.cc23 MessageLoop::MessageLoop() : Resource() { function in class:pp::MessageLoop
26 MessageLoop::MessageLoop(const InstanceHandle& instance) : Resource() { function in class:pp::MessageLoop
33 MessageLoop::MessageLoop(const MessageLoop& other) function in class:pp::MessageLoop
37 MessageLoop::MessageLoop(PP_Resource pp_message_loop) function in class:pp::MessageLoop
42 MessageLoop MessageLoo
[all...]
H A Dmessage_loop.h133 class MessageLoop : public Resource { class in namespace:pp
135 /// Creates an is_null() MessageLoop resource.
136 MessageLoop();
144 explicit MessageLoop(const InstanceHandle& instance);
146 MessageLoop(const MessageLoop& other);
149 explicit MessageLoop(PP_Resource pp_message_loop);
151 static MessageLoop GetForMainThread();
152 static MessageLoop GetCurrent();
/external/chromium_org/content/public/browser/
H A Dhistogram_fetcher.h14 class MessageLoop;
27 base::MessageLoop* callback_thread,
/external/chromium_org/base/win/
H A Dobject_watcher_unittest.cc21 MessageLoop::current()->QuitWhenIdle();
36 void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
37 MessageLoop message_loop(message_loop_type);
52 MessageLoop::current()->Run();
58 void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
59 MessageLoop message_loop(message_loop_type);
75 void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) {
76 MessageLoop message_loop(message_loop_type);
104 void RunTest_SignalBeforeWatch(MessageLoop::Type message_loop_type) {
105 MessageLoop message_loo
[all...]
/external/chromium_org/content/browser/
H A Dbrowser_thread_unittest.cc22 loop_.PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
38 static void BasicFunction(base::MessageLoop* message_loop) {
40 message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
47 explicit DeletedOnFile(base::MessageLoop* message_loop)
56 message_loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
59 base::MessageLoop* message_loop_;
67 mutable base::MessageLoop loop_;
74 base::Bind(&BasicFunction, base::MessageLoop::current()));
75 base::MessageLoop::current()->Run();
80 base::MessageLoop
[all...]
H A Dbrowser_thread_impl.h25 base::MessageLoop* message_loop);
32 virtual void Run(base::MessageLoop* message_loop) OVERRIDE;
43 void UIThreadRun(base::MessageLoop* message_loop);
44 void DBThreadRun(base::MessageLoop* message_loop);
45 void FileThreadRun(base::MessageLoop* message_loop);
46 void FileUserBlockingThreadRun(base::MessageLoop* message_loop);
47 void ProcessLauncherThreadRun(base::MessageLoop* message_loop);
48 void CacheThreadRun(base::MessageLoop* message_loop);
49 void IOThreadRun(base::MessageLoop* message_loop);
/external/chromium_org/chromeos/login/auth/
H A Dmock_auth_status_consumer.cc22 base::MessageLoop::current()->Quit();
29 base::MessageLoop::current()->Quit();
34 base::MessageLoop::current()->Quit();
40 base::MessageLoop::current()->Quit();
45 base::MessageLoop::current()->Quit();
52 base::MessageLoop::current()->Quit();
57 base::MessageLoop::current()->Quit();
63 base::MessageLoop::current()->Quit();
68 base::MessageLoop::current()->Quit();
74 base::MessageLoop
[all...]
/external/chromium_org/base/synchronization/
H A Dwaitable_event_watcher_unittest.cc20 const MessageLoop::Type testing_message_loops[] = {
21 MessageLoop::TYPE_DEFAULT,
22 MessageLoop::TYPE_IO,
24 MessageLoop::TYPE_UI,
31 MessageLoop::current()->QuitWhenIdle();
45 void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
46 MessageLoop message_loop(message_loop_type);
59 MessageLoop::current()->Run();
64 void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
65 MessageLoop message_loo
[all...]
/external/chromium_org/content/browser/geolocation/
H A Dwifi_data_provider_win_unittest.cc15 base::MessageLoop dummy_loop;
/external/chromium_org/mojo/shell/
H A Dtest_child_process.cc24 CHECK(!base::MessageLoop::current());
H A Din_process_dynamic_service_runner_unittest.cc14 base::MessageLoop loop;
/external/chromium_org/mojo/application/
H A Dapplication_runner_chromium.cc19 if (base::MessageLoop::current()->is_running())
20 base::MessageLoop::current()->Quit();
26 message_loop_type_(base::MessageLoop::TYPE_CUSTOM),
32 base::MessageLoop::Type type) {
33 DCHECK_NE(base::MessageLoop::TYPE_CUSTOM, type);
49 scoped_ptr<base::MessageLoop> loop;
50 if (message_loop_type_ == base::MessageLoop::TYPE_CUSTOM)
51 loop.reset(new base::MessageLoop(common::MessagePumpMojo::Create()));
53 loop.reset(new base::MessageLoop(message_loop_type_));
/external/chromium_org/base/message_loop/
H A Dmessage_loop.cc43 LazyInstance<base::ThreadLocalPointer<MessageLoop> >::Leaky lazy_tls_ptr =
87 MessageLoop::MessagePumpFactory* message_pump_for_ui_factory_ = NULL;
90 // time for every task that is added to the MessageLoop incoming queue.
91 bool AlwaysNotifyPump(MessageLoop::Type type) {
95 return type == MessageLoop::TYPE_UI || type == MessageLoop::TYPE_JAVA;
117 MessageLoop::TaskObserver::TaskObserver() {
120 MessageLoop::TaskObserver::~TaskObserver() {
123 MessageLoop::DestructionObserver::~DestructionObserver() {
128 MessageLoop function in class:base::MessageLoop
143 MessageLoop::MessageLoop(scoped_ptr<MessagePump> pump) function in class:base::MessageLoop
[all...]
H A Dmessage_loop_proxy_unittest.cc24 : current_loop_(new MessageLoop()),
39 // Allow us to pause the |task_thread_|'s MessageLoop.
58 LoopRecorder(MessageLoop** run_on, MessageLoop** deleted_on,
66 *run_on_ = MessageLoop::current();
72 *deleted_on_ = MessageLoop::current();
76 MessageLoop** run_on_;
77 MessageLoop** deleted_on_;
87 MessageLoop::current()->QuitWhenIdle();
100 scoped_ptr<MessageLoop> current_loop
[all...]
H A Dmessage_loop_test.cc71 MessageLoop::current()->QuitWhenIdle();
75 // useful for building a variety of MessageLoop tests.
90 MessageLoop loop(pump.Pass());
94 MessageLoop::current()->PostTask(FROM_HERE, Bind(
96 MessageLoop::current()->PostTask(FROM_HERE, Bind(
98 MessageLoop::current()->PostTask(FROM_HERE, Bind(
100 MessageLoop::current()->PostTask(FROM_HERE, Bind(
102 MessageLoop::current()->PostTask(FROM_HERE, Bind(
104 MessageLoop::current()->PostTask(FROM_HERE, Bind(
107 MessageLoop
[all...]
/external/chromium_org/net/cookies/
H A Dcookie_store_test_callbacks.cc17 parent_loop_(base::MessageLoop::current()),
18 loop_to_quit_(base::MessageLoop::current()) {}
23 run_in_loop_(base::MessageLoop::current()),
25 loop_to_quit_(base::MessageLoop::current()) {}
28 base::MessageLoop* expected_loop = NULL;
38 EXPECT_EQ(expected_loop, base::MessageLoop::current());
39 loop_to_quit_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
/external/chromium_org/ppapi/tests/
H A Dtest_message_loop.cc15 REGISTER_TEST_CASE(MessageLoop); variable
35 ASSERT_NE(0, pp::MessageLoop::GetForMainThread().pp_resource());
36 ASSERT_EQ(pp::MessageLoop::GetForMainThread().pp_resource(),
37 pp::MessageLoop::GetCurrent().pp_resource());
40 pp::MessageLoop loop(instance_);
45 pp::MessageLoop::GetForMainThread().Run());
55 pp::MessageLoop::GetCurrent().PostWork(callback_factory_.NewCallback(
80 pp::MessageLoop::GetForMainThread().Run());
101 pp::MessageLoop::GetForMainThread().PostWork(
/external/chromium_org/base/android/
H A Djava_handler_thread.h15 class MessageLoop;
30 base::MessageLoop* message_loop() const { return message_loop_.get(); }
41 scoped_ptr<base::MessageLoop> message_loop_;
/external/chromium_org/base/timer/
H A Dtimer_unittest.cc15 const base::MessageLoop::Type testing_message_loops[] = {
16 base::MessageLoop::TYPE_DEFAULT,
17 base::MessageLoop::TYPE_IO,
19 base::MessageLoop::TYPE_UI,
38 base::MessageLoop::current()->QuitWhenIdle();
59 base::MessageLoop::current()->QuitWhenIdle();
79 base::MessageLoop::current()->QuitWhenIdle();
88 void RunTest_OneShotTimer(base::MessageLoop::Type message_loop_type) {
89 base::MessageLoop loop(message_loop_type);
95 base::MessageLoop
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dstatus_change_checker.cc32 base::MessageLoop* loop = base::MessageLoop::current();
33 base::MessageLoop::ScopedNestableTaskAllower allow(loop);
39 base::MessageLoop::current()->QuitWhenIdle();
/external/chromium_org/chrome/test/perf/
H A Dperftests.cc12 base::MessageLoop main_message_loop;
/external/chromium_org/content/public/test/
H A Dframe_load_waiter.cc24 base::MessageLoop::current()->PostTask(FROM_HERE, run_loop_.QuitClosure());
/external/chromium_org/cc/test/
H A Dcc_test_suite.h13 class MessageLoop;
29 scoped_ptr<base::MessageLoop> message_loop_;

Completed in 490 milliseconds

1234567891011>>