OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ |
6 #define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ | 6 #define REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/thread.h" | 11 #include "base/threading/thread.h" |
12 #include "remoting/jingle_glue/jingle_thread.h" | 12 #include "remoting/jingle_glue/jingle_thread.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 // A class that manages threads and running context for the chromoting host | 16 // A class that manages threads and running context for the chromoting host |
17 // process. | 17 // process. |
18 class ChromotingHostContext { | 18 class ChromotingHostContext { |
19 public: | 19 public: |
20 ChromotingHostContext(); | 20 ChromotingHostContext(); |
21 virtual ~ChromotingHostContext(); | 21 virtual ~ChromotingHostContext(); |
(...skipping 25 matching lines...) Expand all Loading... |
47 base::Thread encode_thread_; | 47 base::Thread encode_thread_; |
48 | 48 |
49 DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext); | 49 DISALLOW_COPY_AND_ASSIGN(ChromotingHostContext); |
50 }; | 50 }; |
51 | 51 |
52 } // namespace remoting | 52 } // namespace remoting |
53 | 53 |
54 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::ChromotingHostContext); | 54 DISABLE_RUNNABLE_METHOD_REFCOUNT(remoting::ChromotingHostContext); |
55 | 55 |
56 #endif // REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ | 56 #endif // REMOTING_HOST_CHROMOTING_HOST_CONTEXT_H_ |
OLD | NEW |