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

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

Issue 12760012: Rename EventExecutor to InputInjector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace some missed occurrences and remove unused include. Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('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 #ifndef REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 20 matching lines...) Expand all
31 scoped_refptr<AutoThreadTaskRunner> ui_task_runner); 31 scoped_refptr<AutoThreadTaskRunner> ui_task_runner);
32 32
33 // Task runner for the thread used for audio capture and encoding. 33 // Task runner for the thread used for audio capture and encoding.
34 scoped_refptr<AutoThreadTaskRunner> audio_task_runner(); 34 scoped_refptr<AutoThreadTaskRunner> audio_task_runner();
35 35
36 // Task runner for the thread that is used for blocking file 36 // Task runner for the thread that is used for blocking file
37 // IO. This thread is used by the URLRequestContext to read proxy 37 // IO. This thread is used by the URLRequestContext to read proxy
38 // configuration and by NatConfig to read policy configs. 38 // configuration and by NatConfig to read policy configs.
39 scoped_refptr<AutoThreadTaskRunner> file_task_runner(); 39 scoped_refptr<AutoThreadTaskRunner> file_task_runner();
40 40
41 // Task runner for the thread that is used by the EventExecutor. 41 // Task runner for the thread that is used by the InputInjector.
42 // 42 //
43 // TODO(sergeyu): Do we need a separate thread for EventExecutor? 43 // TODO(sergeyu): Do we need a separate thread for InputInjector?
44 // Can we use some other thread instead? 44 // Can we use some other thread instead?
45 scoped_refptr<AutoThreadTaskRunner> input_task_runner(); 45 scoped_refptr<AutoThreadTaskRunner> input_task_runner();
46 46
47 // Task runner for the thread used for network IO. This thread runs 47 // Task runner for the thread used for network IO. This thread runs
48 // a libjingle message loop, and is the only thread on which 48 // a libjingle message loop, and is the only thread on which
49 // libjingle code may be run. 49 // libjingle code may be run.
50 scoped_refptr<AutoThreadTaskRunner> network_task_runner(); 50 scoped_refptr<AutoThreadTaskRunner> network_task_runner();
51 51
52 // Task runner for the thread that is used for the UI. In the NPAPI 52 // Task runner for the thread that is used for the UI. In the NPAPI
53 // plugin this corresponds to the main plugin thread. 53 // plugin this corresponds to the main plugin thread.
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Serves URLRequestContexts that use the network and UI task runners. 89 // Serves URLRequestContexts that use the network and UI task runners.
90 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; 90 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext); 92 DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext);
93 }; 93 };
94 94
95 } // namespace remoting 95 } // namespace remoting
96 96
97 #endif // REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ 97 #endif // REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/chromoting_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698