Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: remoting/protocol/client_stub.h

Issue 10399052: [Chromoting] Add a filter that will stop the host sending unnecessary clipboard events to the clien… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // Interface of a client that receives commands from a Chromoting host. 5 // Interface of a client that receives commands from a Chromoting host.
6 // 6 //
7 // This interface is responsible for a subset of control messages sent to 7 // This interface is responsible for a subset of control messages sent to
8 // the Chromoting client. 8 // the Chromoting client.
9 9
10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_ 10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_
11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_ 11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "remoting/protocol/clipboard_stub.h"
14 15
15 namespace remoting { 16 namespace remoting {
16 namespace protocol { 17 namespace protocol {
17 18
18 class ClientStub { 19 class ClientStub : public ClipboardStub {
Wez 2012/05/16 20:51:43 nit: We discussed composition vs inheritance; do y
simonmorris 2012/05/16 22:35:25 Maybe. I don't think that possibility needs to aff
19 public: 20 public:
20 ClientStub() {} 21 ClientStub() {}
21 virtual ~ClientStub() {} 22 virtual ~ClientStub() {}
22 23
23 // Currently we don't use the control channel for anything. Add new 24 // Currently we don't use the control channel for anything. Add new
24 // message handlers here when necessary. 25 // message handlers here when necessary.
25 26
26 private: 27 private:
27 DISALLOW_COPY_AND_ASSIGN(ClientStub); 28 DISALLOW_COPY_AND_ASSIGN(ClientStub);
28 }; 29 };
29 30
30 } // namespace protocol 31 } // namespace protocol
31 } // namespace remoting 32 } // namespace remoting
32 33
33 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_ 34 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698