Searched refs:AutoThread (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/remoting/base/
H A Dauto_thread.cc25 AutoThread::ComInitType type) {
27 if (type == AutoThread::COM_INIT_MTA) {
30 } else if (type == AutoThread::COM_INIT_STA) {
41 struct AutoThread::StartupData {
56 scoped_refptr<AutoThreadTaskRunner> AutoThread::CreateWithType(
60 AutoThread* thread = new AutoThread(name, joiner.get());
68 scoped_refptr<AutoThreadTaskRunner> AutoThread::Create(
75 scoped_refptr<AutoThreadTaskRunner> AutoThread::CreateWithLoopAndComInitTypes(
80 AutoThread* threa
90 AutoThread::AutoThread(const char* name) function in class:remoting::AutoThread
100 AutoThread::AutoThread(const char* name, AutoThreadTaskRunner* joiner) function in class:remoting::AutoThread
[all...]
H A Dauto_thread.h30 class AutoThread : base::PlatformThread::Delegate { class in namespace:remoting
32 // Create an AutoThread with the specified message-loop |type| and |name|.
44 // Create an AutoThread initialized for COM. |com_init_type| specifies the
54 // Construct the AutoThread. |name| identifies the thread for debugging.
55 explicit AutoThread(const char* name);
58 virtual ~AutoThread();
80 AutoThread(const char* name, AutoThreadTaskRunner* joiner);
110 DISALLOW_COPY_AND_ASSIGN(AutoThread);
H A Dauto_thread_unittest.cc99 // Create an AutoThread joined by our MessageLoop.
101 AutoThread::Create(kThreadName, main_task_runner_);
109 // Create an AutoThread joined by our MessageLoop.
111 AutoThread::Create(kThreadName, main_task_runner_);
127 AutoThread::Create(kThreadName, main_task_runner_);
130 AutoThread::Create(kThreadName, main_task_runner_);
148 AutoThread::CreateWithLoopAndComInitTypes(kThreadName,
151 AutoThread::COM_INIT_MTA);
174 AutoThread::CreateWithLoopAndComInitTypes(kThreadName,
177 AutoThread
[all...]
/external/chromium_org/remoting/host/
H A Dchromoting_host_context.cc22 AutoThread::CreateWithLoopAndComInitTypes("ChromotingAudioThread",
25 AutoThread::COM_INIT_STA);
27 audio_task_runner_ = AutoThread::CreateWithType(
31 file_task_runner_ = AutoThread::CreateWithType(
33 input_task_runner_ = AutoThread::CreateWithType(
35 network_task_runner_ = AutoThread::CreateWithType(
38 AutoThread::Create("ChromotingCaptureThread", ui_task_runner_);
39 video_encode_task_runner_ = AutoThread::Create(
H A Ddesktop_process.cc106 AutoThread::CreateWithLoopAndComInitTypes("ChromotingAudioThread",
109 AutoThread::COM_INIT_STA);
111 audio_task_runner = AutoThread::CreateWithType(
117 AutoThread::CreateWithType(
122 AutoThread::Create("Video capture thread", caller_task_runner_);
H A Ddesktop_process_main.cc42 AutoThread::CreateWithType(
H A Dconfig_file_watcher_unittest.cc82 AutoThread::CreateWithType(
H A Dvideo_scheduler_unittest.cc333 capture_task_runner_ = AutoThread::Create("capture", main_task_runner_);
334 encode_task_runner_ = AutoThread::Create("encode", main_task_runner_);
H A Ddesktop_process_unittest.cc245 io_task_runner_ = AutoThread::CreateWithType(
H A Dipc_desktop_environment_unittest.cc238 io_task_runner_ = AutoThread::CreateWithType(
/external/chromium_org/third_party/webrtc/base/
H A Dthread.h282 // AutoThread automatically installs itself at construction
286 class AutoThread : public Thread { class in namespace:rtc
288 explicit AutoThread(SocketServer* ss = 0);
289 virtual ~AutoThread();
292 DISALLOW_COPY_AND_ASSIGN(AutoThread);
H A Dthread.cc431 AutoThread thread;
433 ASSERT(current_thread != NULL); // AutoThread ensures this
598 AutoThread::AutoThread(SocketServer* ss) : Thread(ss) { function in class:rtc::AutoThread
604 AutoThread::~AutoThread() {
H A Dthread_unittest.cc282 AutoThread thread;
307 AutoThread thread;
/external/chromium_org/remoting/host/setup/
H A Ddaemon_controller.h22 class AutoThread;
266 scoped_ptr<AutoThread> delegate_thread_;
H A Ddaemon_controller.cc24 delegate_thread_.reset(new AutoThread(kDaemonControllerThreadName));
26 delegate_thread_->SetComInitType(AutoThread::COM_INIT_STA);
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/linux/
H A Dmain.cc93 rtc::AutoThread auto_thread;
/external/chromium_org/base/threading/
H A Dthread_restrictions.h80 class AutoThread;
197 friend class remoting::AutoThread;
/external/chromium_org/remoting/client/jni/
H A Dchromoting_jni_runtime.cc188 network_task_runner_ = AutoThread::CreateWithType("native_net",
191 display_task_runner_ = AutoThread::Create("native_disp",
/external/chromium_org/remoting/host/win/
H A Dhost_service.cc207 AutoThread::CreateWithType(

Completed in 360 milliseconds