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

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: Created 6 years, 1 month 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
Index: remoting/host/chromoting_host_context.h
diff --git a/remoting/host/chromoting_host_context.h b/remoting/host/chromoting_host_context.h
index e4638ffd3b7cec19d2483762aa349a24a8d5beac..8c2284e5bb0d5ed13759fb3298e14411767f2bee 100644
--- a/remoting/host/chromoting_host_context.h
+++ b/remoting/host/chromoting_host_context.h
@@ -31,35 +31,36 @@ class ChromotingHostContext {
scoped_refptr<AutoThreadTaskRunner> ui_task_runner);
// 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 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 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(AutoThreadTaskRunner* ui_task_runner);
« no previous file with comments | « no previous file | remoting/host/chromoting_host_context.cc » ('j') | remoting/host/minimum_heartbeat_supporter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698