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

Side by Side Diff: remoting/client/chromoting_client_runtime.h

Issue 1764503002: Adding container class for chromoting client runtimes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving impl to iOS, adding public interface. Created 4 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_CLIENT_CHROMOTING_CLIENT_RUNTIME_H_
6 #define REMOTING_CLIENT_CHROMOTING_CLIENT_RUNTIME_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "net/url_request/url_request_context_getter.h"
11 #include "remoting/base/auto_thread.h"
12
13 // Houses the global resources on which the Chromoting components run
14 // (e.g. message loops and task runners).
15 namespace remoting {
16
17 class ChromotingClientRuntime {
18 public:
19 scoped_refptr<AutoThreadTaskRunner> network_task_runner();
20 scoped_refptr<AutoThreadTaskRunner> display_task_runner();
21 scoped_refptr<AutoThreadTaskRunner> file_task_runner();
22 scoped_refptr<net::URLRequestContextGetter> url_requester();
23 };
24
25 } // namespace remoting
26
27 #endif // REMOTING_CLIENT_CHROMOTING_CLIENT_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698