OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CLIENT_SESSION_H_ | 5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_ |
6 #define REMOTING_HOST_CLIENT_SESSION_H_ | 6 #define REMOTING_HOST_CLIENT_SESSION_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 | 10 |
| 11 #include "base/time.h" |
11 #include "remoting/protocol/connection_to_client.h" | 12 #include "remoting/protocol/connection_to_client.h" |
12 #include "remoting/protocol/host_stub.h" | 13 #include "remoting/protocol/host_stub.h" |
13 #include "remoting/protocol/input_stub.h" | 14 #include "remoting/protocol/input_stub.h" |
14 #include "ui/gfx/point.h" | 15 #include "ui/gfx/point.h" |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
17 | 18 |
18 class UserAuthenticator; | 19 class UserAuthenticator; |
19 | 20 |
20 // A ClientSession keeps a reference to a connection to a client, and maintains | 21 // A ClientSession keeps a reference to a connection to a client, and maintains |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 122 |
122 base::Time latest_local_input_time_; | 123 base::Time latest_local_input_time_; |
123 std::set<int> pressed_keys_; | 124 std::set<int> pressed_keys_; |
124 | 125 |
125 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 126 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
126 }; | 127 }; |
127 | 128 |
128 } // namespace remoting | 129 } // namespace remoting |
129 | 130 |
130 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 131 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
OLD | NEW |