| 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_CLIENT_CLIENT_CONTEXT_H_ | 5 #ifndef REMOTING_CLIENT_CLIENT_CONTEXT_H_ |
| 6 #define REMOTING_CLIENT_CLIENT_CONTEXT_H_ | 6 #define REMOTING_CLIENT_CLIENT_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/thread.h" | 10 #include "base/threading/thread.h" |
| 11 #include "remoting/jingle_glue/jingle_thread.h" | 11 #include "remoting/jingle_glue/jingle_thread.h" |
| 12 | 12 |
| 13 namespace remoting { | 13 namespace remoting { |
| 14 | 14 |
| 15 // A class that manages threads and running context for the chromoting client | 15 // A class that manages threads and running context for the chromoting client |
| 16 // process. | 16 // process. |
| 17 class ClientContext { | 17 class ClientContext { |
| 18 public: | 18 public: |
| 19 ClientContext(); | 19 ClientContext(); |
| 20 virtual ~ClientContext(); | 20 virtual ~ClientContext(); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // A thread that handles all decode operations. | 40 // A thread that handles all decode operations. |
| 41 base::Thread decode_thread_; | 41 base::Thread decode_thread_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(ClientContext); | 43 DISALLOW_COPY_AND_ASSIGN(ClientContext); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace remoting | 46 } // namespace remoting |
| 47 | 47 |
| 48 #endif // REMOTING_CLIENT_CLIENT_CONTEXT_H_ | 48 #endif // REMOTING_CLIENT_CLIENT_CONTEXT_H_ |
| OLD | NEW |