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 client that receives commands from a Chromoting host. |
| 6 // |
| 7 // This interface is responsible for a subset of control messages sent to |
| 8 // the Chromoting client. |
| 9 |
| 10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_ |
| 11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_ |
| 12 |
| 13 #include "base/basictypes.h" |
| 14 |
| 15 class Task; |
| 16 |
| 17 namespace remoting { |
| 18 namespace protocol { |
| 19 |
| 20 class NotifyScreenResolution; |
| 21 |
| 22 class ClientStub { |
| 23 public: |
| 24 ClientStub() {} |
| 25 virtual ~ClientStub() {} |
| 26 |
| 27 virtual void NotifyScreenResolution(const NotifyScreenResolution& msg, |
| 28 Task* done) = 0; |
| 29 |
| 30 private: |
| 31 DISALLOW_COPY_AND_ASSIGN(ClientStub); |
| 32 }; |
| 33 |
| 34 } // namespace protocol |
| 35 } // namespace remoting |
| 36 |
| 37 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_ |
OLD | NEW |