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

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

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 2 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
« no previous file with comments | « remoting/protocol/host_message_dispatcher.cc ('k') | remoting/protocol/input_sender.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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; 14 class Task;
15 15
16 namespace remoting { 16 namespace remoting {
17 namespace protocol { 17 namespace protocol {
18 18
19 class LocalLoginCredentials; 19 class LocalLoginCredentials;
20 20
21 class HostStub { 21 class HostStub {
22 public: 22 public:
23 HostStub() {}; 23 HostStub() {};
24 virtual ~HostStub() {}; 24 virtual ~HostStub() {};
25 25
26 virtual void BeginSessionRequest( 26 virtual void BeginSessionRequest(
27 const LocalLoginCredentials* credentials, Task* done) = 0; 27 const LocalLoginCredentials* credentials, const base::Closure& done) = 0;
28 28
29 private: 29 private:
30 DISALLOW_COPY_AND_ASSIGN(HostStub); 30 DISALLOW_COPY_AND_ASSIGN(HostStub);
31 }; 31 };
32 32
33 } // namespace protocol 33 } // namespace protocol
34 } // namespace remoting 34 } // namespace remoting
35 35
36 #endif // REMOTING_PROTOCOL_HOST_STUB_H_ 36 #endif // REMOTING_PROTOCOL_HOST_STUB_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_message_dispatcher.cc ('k') | remoting/protocol/input_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698