| OLD | NEW | 
|---|
| 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 host that receives commands from a Chromoting client. | 5 // Interface of a host that receives commands from a Chromoting client. | 
| 6 // | 6 // | 
| 7 // This interface handles control messages defined in control.proto. | 7 // This interface handles control messages defined in control.proto. | 
| 8 | 8 | 
| 9 #ifndef REMOTING_PROTOCOL_HOST_STUB_H_ | 9 #ifndef REMOTING_PROTOCOL_HOST_STUB_H_ | 
| 10 #define REMOTING_PROTOCOL_HOST_STUB_H_ | 10 #define REMOTING_PROTOCOL_HOST_STUB_H_ | 
| 11 | 11 | 
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" | 
| 13 | 13 | 
| 14 class Task; |  | 
| 15 |  | 
| 16 namespace remoting { | 14 namespace remoting { | 
| 17 namespace protocol { | 15 namespace protocol { | 
| 18 | 16 | 
| 19 class HostStub { | 17 class HostStub { | 
| 20  public: | 18  public: | 
| 21   HostStub() {}; | 19   HostStub() {} | 
| 22   virtual ~HostStub() {}; | 20   virtual ~HostStub() {} | 
| 23 | 21 | 
| 24   // Currently we don't use the control channel for anything. Add new | 22   // Currently we don't use the control channel for anything. Add new | 
| 25   // message handlers here when necessary. | 23   // message handlers here when necessary. | 
| 26 | 24 | 
| 27  private: | 25  private: | 
| 28   DISALLOW_COPY_AND_ASSIGN(HostStub); | 26   DISALLOW_COPY_AND_ASSIGN(HostStub); | 
| 29 }; | 27 }; | 
| 30 | 28 | 
| 31 }  // namespace protocol | 29 }  // namespace protocol | 
| 32 }  // namespace remoting | 30 }  // namespace remoting | 
| 33 | 31 | 
| 34 #endif  // REMOTING_PROTOCOL_HOST_STUB_H_ | 32 #endif  // REMOTING_PROTOCOL_HOST_STUB_H_ | 
| OLD | NEW | 
|---|