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_HOST_CONNECTION_H_ | 5 #ifndef REMOTING_CLIENT_HOST_CONNECTION_H_ |
6 #define REMOTING_CLIENT_HOST_CONNECTION_H_ | 6 #define REMOTING_CLIENT_HOST_CONNECTION_H_ |
7 | 7 |
8 #include "base/ref_counted.h" | 8 #include "base/ref_counted.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "remoting/protocol/messages_decoder.h" | 10 #include "remoting/proto/internal.pb.h" |
| 11 #include "remoting/protocol/message_decoder.h" |
11 | 12 |
12 namespace remoting { | 13 namespace remoting { |
13 | 14 |
14 struct ClientConfig; | 15 struct ClientConfig; |
15 | 16 |
16 class HostConnection { | 17 class HostConnection { |
17 public: | 18 public: |
18 class HostEventCallback { | 19 class HostEventCallback { |
19 public: | 20 public: |
20 virtual ~HostEventCallback() {} | 21 virtual ~HostEventCallback() {} |
(...skipping 26 matching lines...) Expand all Loading... |
47 protected: | 48 protected: |
48 HostConnection() {} | 49 HostConnection() {} |
49 | 50 |
50 private: | 51 private: |
51 DISALLOW_COPY_AND_ASSIGN(HostConnection); | 52 DISALLOW_COPY_AND_ASSIGN(HostConnection); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace remoting | 55 } // namespace remoting |
55 | 56 |
56 #endif // REMOTING_CLIENT_HOST_CONNECTION_H_ | 57 #endif // REMOTING_CLIENT_HOST_CONNECTION_H_ |
OLD | NEW |