OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Interface of a host that receives commands from a Chromoting client. |
| 6 // |
| 7 // This interterface handles control messages defined in contro.proto. |
| 8 |
| 9 #ifndef REMOTING_PROTOCOL_HOST_STUB_H_ |
| 10 #define REMOTING_PROTOCOL_HOST_STUB_H_ |
| 11 |
| 12 #include "base/basictypes.h" |
| 13 |
| 14 class Task; |
| 15 |
| 16 namespace remoting { |
| 17 namespace protocol { |
| 18 |
| 19 class SuggestResolutionRequest; |
| 20 |
| 21 class HostStub { |
| 22 public: |
| 23 HostStub() {} |
| 24 virtual ~HostStub() {}; |
| 25 |
| 26 virtual void SuggestResolution( |
| 27 const SuggestResolutionRequest& msg, Task* done) = 0; |
| 28 |
| 29 private: |
| 30 DISALLOW_COPY_AND_ASSIGN(HostStub); |
| 31 }; |
| 32 |
| 33 } // namespace protocol |
| 34 } // namespace remoting |
| 35 |
| 36 #endif // REMOTING_PROTOCOL_HOST_STUB_H_ |
OLD | NEW |