Searched refs:target_loop_ (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
H A Dthread_aware_callback.cc36 : target_loop_(PpapiGlobals::Get()->GetCurrentMessageLoop()),
38 DCHECK(target_loop_.get());
52 if (target_loop_.get() != PpapiGlobals::Get()->GetCurrentMessageLoop()) {
53 target_loop_->PostClosure(
H A Dtracked_callback.h80 // (as determined by target_loop_). If invoked on a different thread, the
81 // callback will be scheduled to run later on target_loop_.
117 return target_loop_.get();
143 bool has_null_target_loop() const { return target_loop_.get() == NULL; }
179 scoped_refptr<MessageLoopShared> target_loop_; member in class:ppapi::TrackedCallback
H A Dtracked_callback.cc51 target_loop_(PpapiGlobals::Get()->GetCurrentMessageLoop()),
53 // Note that target_loop_ may be NULL at this point, if the plugin has not
132 // If there's a target_loop_, and we're not on the right thread, we need to
133 // post to target_loop_.
134 if (target_loop_.get() &&
135 target_loop_.get() != PpapiGlobals::Get()->GetCurrentMessageLoop()) {
175 if (target_loop_) {
176 target_loop_->PostClosure(FROM_HERE, callback_closure, 0);
179 // classes protect against having a null target_loop_ otherwise).
H A Dthread_aware_callback.h32 scoped_refptr<MessageLoopShared> target_loop_; member in class:ppapi::internal::ThreadAwareCallbackBase
/external/chromium_org/content/renderer/input/
H A Dinput_event_filter.cc29 target_loop_(target_loop),
31 DCHECK(target_loop_.get());
55 DCHECK(target_loop_->BelongsToCurrentThread());
102 target_loop_->PostTask(
117 DCHECK(target_loop_->BelongsToCurrentThread());
157 DCHECK(target_loop_->BelongsToCurrentThread());
H A Dinput_event_filter.h78 // The handler_ only gets Run on the thread corresponding to target_loop_.
79 scoped_refptr<base::MessageLoopProxy> target_loop_; member in class:content::InputEventFilter
/external/chromium_org/ppapi/tests/
H A Dtest_utils.h168 void set_target_loop(const pp::MessageLoop& loop) { target_loop_ = loop; }
187 pp::MessageLoop target_loop_; member in class:TestCompletionCallback
H A Dtest_utils.cc366 target_loop_ = pp::MessageLoop::GetCurrent();
396 if (callback->target_loop_ != pp::MessageLoop::GetCurrent()) {
/external/chromium/chrome/common/net/
H A Durl_fetcher_unittest.cc34 target_loop_(target_loop) {}
37 target_loop_->PostTask(FROM_HERE, task_);
42 MessageLoop* const target_loop_; member in class:__anon2869::CurriedTask

Completed in 137 milliseconds