HomeSort by relevance Sort by last modified time
    Searched refs:MessageLoop (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/chromium/base/
waitable_event_watcher_unittest.cc 19 MessageLoop::current()->Quit();
34 void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
35 MessageLoop message_loop(message_loop_type);
49 MessageLoop::current()->Run();
54 void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
55 MessageLoop message_loop(message_loop_type);
68 void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) {
69 MessageLoop message_loop(message_loop_type);
88 MessageLoop::current()->RunAllPending();
94 void RunTest_OutlivesMessageLoop(MessageLoop::Type message_loop_type)
    [all...]
object_watcher_unittest.cc 16 MessageLoop::current()->Quit();
33 void RunTest_BasicSignal(MessageLoop::Type message_loop_type) {
34 MessageLoop message_loop(message_loop_type);
49 MessageLoop::current()->Run();
55 void RunTest_BasicCancel(MessageLoop::Type message_loop_type) {
56 MessageLoop message_loop(message_loop_type);
73 void RunTest_CancelAfterSet(MessageLoop::Type message_loop_type) {
74 MessageLoop message_loop(message_loop_type);
94 MessageLoop::current()->RunAllPending();
102 void RunTest_OutlivesMessageLoop(MessageLoop::Type message_loop_type)
    [all...]
timer_unittest.cc 28 MessageLoop::current()->Quit();
49 MessageLoop::current()->Quit();
69 MessageLoop::current()->Quit();
77 void RunTest_OneShotTimer(MessageLoop::Type message_loop_type) {
78 MessageLoop loop(message_loop_type);
84 MessageLoop::current()->Run();
89 void RunTest_OneShotTimer_Cancel(MessageLoop::Type message_loop_type) {
90 MessageLoop loop(message_loop_type);
96 MessageLoop::current()->DeleteSoon(FROM_HERE, a);
105 MessageLoop::current()->Run()
    [all...]
message_loop_unittest.cc 24 // TODO(darin): Platform-specific MessageLoop tests should be grouped together
81 MessageLoop::current()->Quit();
90 void RunTest_PostTask(MessageLoop::Type message_loop_type) {
91 MessageLoop loop(message_loop_type);
96 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
98 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
100 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
102 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
104 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
106 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod
    [all...]
thread.h 15 // A simple thread abstraction that establishes a MessageLoop on a new thread.
16 // The consumer uses the MessageLoop of the thread to cause code to execute on
24 MessageLoop::Type message_loop_type;
31 Options() : message_loop_type(MessageLoop::TYPE_DEFAULT), stack_size(0) {}
32 Options(MessageLoop::Type type, size_t size)
90 // Returns the message loop for this thread. Use the MessageLoop's
95 // NOTE: You must not call this MessageLoop's Quit method directly. Use
98 MessageLoop* message_loop() const { return message_loop_; }
118 virtual void Run(MessageLoop* message_loop);
126 void set_message_loop(MessageLoop* message_loop)
    [all...]
directory_watcher.h 14 class MessageLoop;
42 MessageLoop* backend_loop, bool recursive) {
50 MessageLoop* backend_loop, bool recursive) = 0;
directory_watcher_stub.cc 13 MessageLoop* backend_loop, bool recursive) {
message_loop.cc 32 static base::LazyInstance<base::ThreadLocalPointer<MessageLoop> > lazy_tls_ptr(
72 MessageLoop* MessageLoop::current() {
79 MessageLoop::MessageLoop(Type type)
113 MessageLoop::~MessageLoop() {
143 void MessageLoop::AddDestructionObserver(DestructionObserver *obs) {
148 void MessageLoop::RemoveDestructionObserver(DestructionObserver *obs) {
153 void MessageLoop::Run()
    [all...]
message_loop.h 29 // A MessageLoop is used to process events for a particular thread. There is
30 // at most one MessageLoop instance per thread.
34 // MessageLoop other events such as UI messages may be processed. On Windows
38 // NOTE: Unless otherwise specified, a MessageLoop's methods may only be called
39 // on the thread where the MessageLoop's Run method executes.
41 // NOTE: MessageLoop has task reentrancy protection. This means that if a
50 // bool old_state = MessageLoop::current()->NestableTasksAllowed();
51 // MessageLoop::current()->SetNestableTasksAllowed(true);
53 // MessageLoop::current()->SetNestableTasksAllowed(old_state);
59 class MessageLoop : public base::MessagePump::Delegate
    [all...]
timer.cc 23 MessageLoop::current()->PostDelayedTask(
object_watcher.cc 17 MessageLoop* origin_loop; // Used to get back to the origin thread
52 watch->origin_loop = MessageLoop::current();
71 MessageLoop::current()->AddDestructionObserver(this);
80 DCHECK(watch_->origin_loop == MessageLoop::current());
99 // task, and will therefore be deleted by the MessageLoop. Otherwise, we
106 MessageLoop::current()->RemoveDestructionObserver(this);
133 // Need to shutdown the watch so that we don't try to access the MessageLoop
message_pump_glib_unittest.cc 142 MessageLoop::current()->Quit();
153 MessageLoop::current()->PostTask(from_here, task);
162 loop_ = new MessageLoop(MessageLoop::TYPE_UI);
173 MessageLoop* loop() const { return loop_; }
177 MessageLoop* loop_;
210 // MessageLoop doesn't make strong guarantees that it is the case, but the
310 MessageLoop::current()->Quit();
312 MessageLoop::current()->PostTask(
322 MessageLoop::current()->Quit()
    [all...]
observer_list_threadsafe.h 66 MessageLoop* loop = MessageLoop::current();
69 // And unittests use time without a MessageLoop.
88 MessageLoop* loop = MessageLoop::current();
138 MessageLoop* loop = (*it).first;
158 observer_lists_.find(MessageLoop::current());
182 observer_lists_.find(MessageLoop::current());
190 typedef std::map<MessageLoop*, ObserverList<ObserverType>*> ObserversListMap;
waitable_event_watcher.h 29 // MessageLoop. This callback can be deleted by deleting the waiter.
62 : public MessageLoop::DestructionObserver
75 // This is called on the MessageLoop thread when WaitableEvent has been
145 // Implementation of MessageLoop::DestructionObserver
149 MessageLoop* message_loop_;
object_watcher.h 42 class ObjectWatcher : public MessageLoop::DestructionObserver {
47 // Called from the MessageLoop when a signaled object is detected. To
79 // MessageLoop::DestructionObserver implementation:
  /external/chromium/net/proxy/
proxy_config_service_linux.h 45 virtual bool Init(MessageLoop* glib_default_loop,
59 virtual MessageLoop* GetNotificationLoop() = 0;
121 void SetupAndFetchInitialConfig(MessageLoop* glib_default_loop,
122 MessageLoop* io_loop,
184 // The MessageLoop for the UI thread, aka main browser thread. This
193 MessageLoop* glib_default_loop_;
194 // MessageLoop for the IO thread. GetProxyConfig() is called from
196 MessageLoop* io_loop_;
215 void SetupAndFetchInitialConfig(MessageLoop* glib_default_loop,
216 MessageLoop* io_loop
    [all...]
proxy_resolver_js_bindings.h 10 class MessageLoop;
55 HostResolver* host_resolver, MessageLoop* host_resolver_loop);
proxy_resolver_js_bindings.cc 27 MessageLoop* host_resolver_loop)
64 DCHECK_EQ(host_resolver_loop_, MessageLoop::current());
73 DCHECK_EQ(host_resolver_loop_, MessageLoop::current());
79 MessageLoop* host_resolver_loop_;
95 MessageLoop* host_resolver_loop)
182 HostResolver* host_resolver, MessageLoop* host_resolver_loop) {
  /external/chromium/net/base/
test_completion_callback.h 35 MessageLoop::current()->Run();
54 MessageLoop::current()->Quit();
network_change_notifier_mac.cc 9 // subclass of MessageLoop::TYPE_UI (since it needs a CFRunLoop) that contains
45 NetworkChangeNotifierImpl(MessageLoop* notifier_loop,
66 MessageLoop* const notifier_loop_;
75 MessageLoop* notifier_loop, NetworkChangeNotifierMac* notifier)
78 DCHECK_EQ(MessageLoop::TYPE_UI, MessageLoop::current()->type());
183 NetworkChangeNotifierThread(MessageLoop* notifier_loop,
191 MessageLoop* const notifier_loop_;
199 MessageLoop* notifier_loop, NetworkChangeNotifierMac* notifier)
222 new NetworkChangeNotifierThread(MessageLoop::current(), this))
    [all...]
directory_lister.h 16 class MessageLoop;
70 MessageLoop* message_loop_;
  /external/chromium/net/url_request/
url_request_error_job.cc 16 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
url_request_redirect_job.cc 15 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
url_request_about_job.cc 26 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
  /external/chromium/net/tools/fetch/
fetch_server.cc 38 MessageLoop loop;
40 MessageLoop::current()->Run();

Completed in 510 milliseconds

1 2 3 4