return thread_->thread_id() == base::PlatformThread::CurrentId();
}
+blink::PlatformThreadId WebThreadImpl::threadId() const {
+ return thread_->thread_id();
+}
+
WebThreadImpl::~WebThreadImpl() {
thread_->Stop();
}
return message_loop_->BelongsToCurrentThread();
}
+blink::PlatformThreadId WebThreadImplForMessageLoop::threadId() const {
+ return thread_id_;
+}
+
WebThreadImplForMessageLoop::~WebThreadImplForMessageLoop() {}
} // namespace mojo