Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: remoting/host/chromoting_host_context.cc

Issue 398873005: Preparations for Cast Host Extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unnecessary getter methods Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | remoting/host/client_session.h » ('j') | remoting/host/client_session.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/chromoting_host_context.h" 5 #include "remoting/host/chromoting_host_context.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "remoting/base/auto_thread.h" 10 #include "remoting/base/auto_thread.h"
(...skipping 16 matching lines...) Expand all
27 audio_task_runner_ = AutoThread::CreateWithType( 27 audio_task_runner_ = AutoThread::CreateWithType(
28 "ChromotingAudioThread", ui_task_runner_, base::MessageLoop::TYPE_IO); 28 "ChromotingAudioThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
29 #endif // !defined(OS_WIN) 29 #endif // !defined(OS_WIN)
30 30
31 file_task_runner_ = AutoThread::CreateWithType( 31 file_task_runner_ = AutoThread::CreateWithType(
32 "ChromotingFileThread", ui_task_runner_, base::MessageLoop::TYPE_IO); 32 "ChromotingFileThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
33 input_task_runner_ = AutoThread::CreateWithType( 33 input_task_runner_ = AutoThread::CreateWithType(
34 "ChromotingInputThread", ui_task_runner_, base::MessageLoop::TYPE_IO); 34 "ChromotingInputThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
35 network_task_runner_ = AutoThread::CreateWithType( 35 network_task_runner_ = AutoThread::CreateWithType(
36 "ChromotingNetworkThread", ui_task_runner_, base::MessageLoop::TYPE_IO); 36 "ChromotingNetworkThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
37 video_capture_task_runner_ = 37 video_capture_task_runner_ = AutoThread::CreateWithType(
38 AutoThread::Create("ChromotingCaptureThread", ui_task_runner_); 38 "ChromotingCaptureThread", ui_task_runner_, base::MessageLoop::TYPE_IO);
aiguha 2014/07/29 17:06:26 (Based on comment from previous patch, but modifie
Wez 2014/08/01 01:14:14 It may be possible to check in CreateUdpSocket() w
39 video_encode_task_runner_ = AutoThread::Create( 39 video_encode_task_runner_ = AutoThread::Create(
40 "ChromotingEncodeThread", ui_task_runner_); 40 "ChromotingEncodeThread", ui_task_runner_);
41 41
42 url_request_context_getter_ = new URLRequestContextGetter( 42 url_request_context_getter_ = new URLRequestContextGetter(
43 network_task_runner_); 43 network_task_runner_);
44 } 44 }
45 45
46 ChromotingHostContext::~ChromotingHostContext() { 46 ChromotingHostContext::~ChromotingHostContext() {
47 } 47 }
48 48
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ChromotingHostContext::video_encode_task_runner() { 98 ChromotingHostContext::video_encode_task_runner() {
99 return video_encode_task_runner_; 99 return video_encode_task_runner_;
100 } 100 }
101 101
102 scoped_refptr<net::URLRequestContextGetter> 102 scoped_refptr<net::URLRequestContextGetter>
103 ChromotingHostContext::url_request_context_getter() { 103 ChromotingHostContext::url_request_context_getter() {
104 return url_request_context_getter_; 104 return url_request_context_getter_;
105 } 105 }
106 106
107 } // namespace remoting 107 } // namespace remoting
OLDNEW
« no previous file with comments | « no previous file | remoting/host/client_session.h » ('j') | remoting/host/client_session.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698