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

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: Trying to see how things look without mock_callback.h Created 6 years 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 2dbb34a848535286e6ad905fde93d077ff81a76f..670a3f6b555570aaea008ec2c9edf456fe179a46 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(

Powered by Google App Engine
This is Rietveld 408576698