Home
last modified time | relevance | path

Searched refs:JingleThreadWrapper (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/jingle/glue/
Dthread_wrapper.cc15 struct JingleThreadWrapper::PendingSend {
17 : sending_thread(JingleThreadWrapper::current()), in PendingSend()
23 JingleThreadWrapper* sending_thread;
28 base::LazyInstance<base::ThreadLocalPointer<JingleThreadWrapper> >
32 void JingleThreadWrapper::EnsureForCurrentMessageLoop() { in EnsureForCurrentMessageLoop()
33 if (JingleThreadWrapper::current() == NULL) { in EnsureForCurrentMessageLoop()
36 .Set(new JingleThreadWrapper(message_loop->message_loop_proxy())); in EnsureForCurrentMessageLoop()
44 JingleThreadWrapper* JingleThreadWrapper::current() { in current()
48 JingleThreadWrapper::JingleThreadWrapper( in JingleThreadWrapper() function in jingle_glue::JingleThreadWrapper
63 JingleThreadWrapper::~JingleThreadWrapper() { in ~JingleThreadWrapper()
[all …]
Dthread_wrapper.h30 class JingleThreadWrapper : public base::MessageLoop::DestructionObserver,
41 static JingleThreadWrapper* current();
43 explicit JingleThreadWrapper(
45 virtual ~JingleThreadWrapper();
119 base::WeakPtr<JingleThreadWrapper> weak_ptr_;
120 base::WeakPtrFactory<JingleThreadWrapper> weak_ptr_factory_;
122 DISALLOW_COPY_AND_ASSIGN(JingleThreadWrapper);
Dthread_wrapper_unittest.cc84 JingleThreadWrapper::EnsureForCurrentMessageLoop(); in SetUp()
235 JingleThreadWrapper::EnsureForCurrentMessageLoop(); in InitializeWrapperForNewThread()
236 JingleThreadWrapper::current()->set_send_allowed(true); in InitializeWrapperForNewThread()
237 *thread = JingleThreadWrapper::current(); in InitializeWrapperForNewThread()
244 JingleThreadWrapper::current()->set_send_allowed(true); in TEST_F()
273 JingleThreadWrapper::current()->set_send_allowed(true); in TEST_F()
Dpseudotcp_adapter_unittest.cc302 JingleThreadWrapper::EnsureForCurrentMessageLoop(); in SetUp()
/external/chromium_org/content/renderer/media/
Dmedia_stream_dependency_factory.cc823 jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); in InitializeWorkerThread()
824 jingle_glue::JingleThreadWrapper::current()->set_send_allowed(true); in InitializeWorkerThread()
825 *thread = jingle_glue::JingleThreadWrapper::current(); in InitializeWorkerThread()
848 jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); in EnsurePeerConnectionFactory()
849 jingle_glue::JingleThreadWrapper::current()->set_send_allowed(true); in EnsurePeerConnectionFactory()
850 signaling_thread_ = jingle_glue::JingleThreadWrapper::current(); in EnsurePeerConnectionFactory()
/external/chromium_org/remoting/protocol/
Dlibjingle_transport_factory.cc413 jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); in LibjingleTransportFactory()
/external/chromium_org/remoting/client/plugin/
Dchromoting_instance.cc621 jingle_glue::JingleThreadWrapper::EnsureForCurrentMessageLoop(); in ConnectWithConfig()