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

Side by Side Diff: remoting/client/client_context.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 | « net/url_request/url_fetcher_impl.h ('k') | remoting/host/audio_capturer_linux.h » ('j') | no next file with comments »
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/client/client_context.h" 5 #include "remoting/client/client_context.h"
6 #include "base/single_thread_task_runner.h"
6 7
7 namespace remoting { 8 namespace remoting {
8 9
9 ClientContext::ClientContext( 10 ClientContext::ClientContext(
10 const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner) 11 const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner)
11 : main_task_runner_(main_task_runner), 12 : main_task_runner_(main_task_runner),
12 decode_thread_("ChromotingClientDecodeThread"), 13 decode_thread_("ChromotingClientDecodeThread"),
13 audio_decode_thread_("ChromotingClientAudioDecodeThread") { 14 audio_decode_thread_("ChromotingClientAudioDecodeThread") {
14 } 15 }
15 16
(...skipping 21 matching lines...) Expand all
37 const { 38 const {
38 return decode_thread_.task_runner(); 39 return decode_thread_.task_runner();
39 } 40 }
40 41
41 scoped_refptr<base::SingleThreadTaskRunner> 42 scoped_refptr<base::SingleThreadTaskRunner>
42 ClientContext::audio_decode_task_runner() const { 43 ClientContext::audio_decode_task_runner() const {
43 return audio_decode_thread_.task_runner(); 44 return audio_decode_thread_.task_runner();
44 } 45 }
45 46
46 } // namespace remoting 47 } // namespace remoting
OLDNEW
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | remoting/host/audio_capturer_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698