| OLD | NEW |
| (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_ |
| OLD | NEW |