Index: remoting/protocol/client_stub.h |
diff --git a/remoting/protocol/client_stub.h b/remoting/protocol/client_stub.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8873a1368912a5a577bda159b0df066bfaf302a4 |
--- /dev/null |
+++ b/remoting/protocol/client_stub.h |
@@ -0,0 +1,37 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Interface of a client that receives commands from a Chromoting host. |
+// |
+// This interface is responsible for a subset of control messages sent to |
+// the Chromoting client. |
+ |
+#ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_ |
+#define REMOTING_PROTOCOL_CLIENT_STUB_H_ |
+ |
+#include "base/basictypes.h" |
+ |
+class Task; |
+ |
+namespace remoting { |
+namespace protocol { |
+ |
+class NotifyScreenResolution; |
+ |
+class ClientStub { |
+ public: |
+ ClientStub() {} |
+ virtual ~ClientStub() {} |
+ |
+ virtual void NotifyScreenResolution(const NotifyScreenResolution& msg, |
+ Task* done) = 0; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ClientStub); |
+}; |
+ |
+} // namespace protocol |
+} // namespace remoting |
+ |
+#endif // REMOTING_PROTOCOL_CLIENT_STUB_H_ |