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

Unified Diff: remoting/host/chromoting_host_context.h

Issue 719983002: Reporting of policy errors via host-offline-reason: part 3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hor-nohoststatussender
Patch Set: Rebasing... Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/chromoting_host_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/chromoting_host_context.h
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h
index 58a0af5e49503060b710301295a502437437ffe5..9de7067203243cf9d05cfa6727b71077263523b8 100644
--- a/remoting/host/chromoting_host_context.h
+++ b/remoting/host/chromoting_host_context.h
@@ -47,35 +47,36 @@ class ChromotingHostContext {
scoped_ptr<ChromotingHostContext> Copy();
// Task runner for the thread that is used for the UI.
- scoped_refptr<AutoThreadTaskRunner> ui_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> ui_task_runner() const;
// Task runner for the thread used for audio capture and encoding.
- scoped_refptr<AutoThreadTaskRunner> audio_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> audio_task_runner() const;
// Task runner for the thread that is used for blocking file
// IO. This thread is used by the URLRequestContext to read proxy
// configuration and by NatConfig to read policy configs.
- scoped_refptr<AutoThreadTaskRunner> file_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> file_task_runner() const;
// Task runner for the thread that is used by the InputInjector.
//
// TODO(sergeyu): Do we need a separate thread for InputInjector?
// Can we use some other thread instead?
- scoped_refptr<AutoThreadTaskRunner> input_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> input_task_runner() const;
// Task runner for the thread used for network IO. This thread runs
// a libjingle message loop, and is the only thread on which
// libjingle code may be run.
- scoped_refptr<AutoThreadTaskRunner> network_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> network_task_runner() const;
// Task runner for the thread used by the ScreenRecorder to capture
// the screen.
- scoped_refptr<AutoThreadTaskRunner> video_capture_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> video_capture_task_runner() const;
// Task runner for the thread used to encode video streams.
- scoped_refptr<AutoThreadTaskRunner> video_encode_task_runner();
+ scoped_refptr<AutoThreadTaskRunner> video_encode_task_runner() const;
- scoped_refptr<net::URLRequestContextGetter> url_request_context_getter();
+ scoped_refptr<net::URLRequestContextGetter> url_request_context_getter()
+ const;
private:
ChromotingHostContext(
« no previous file with comments | « no previous file | remoting/host/chromoting_host_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698