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

Side by Side Diff: remoting/host/host_stub_fake.h

Issue 6030007: Chromoting protocol layers to receive and send login messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: protol Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 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 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 // A fake HostStub implementation that does not do anything. 5 // A fake HostStub implementation that does not do anything.
6 6
7 #ifndef REMOTING_PROTOCOL_HOST_STUB_FAKE_H_ 7 #ifndef REMOTING_PROTOCOL_HOST_STUB_FAKE_H_
8 #define REMOTING_PROTOCOL_HOST_STUB_FAKE_H_ 8 #define REMOTING_PROTOCOL_HOST_STUB_FAKE_H_
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "remoting/protocol/host_stub.h" 11 #include "remoting/protocol/host_stub.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 14
15 class HostStubFake : public protocol::HostStub { 15 class HostStubFake : public protocol::HostStub {
16 public: 16 public:
17 HostStubFake() {} 17 HostStubFake() {}
18 virtual ~HostStubFake() {} 18 virtual ~HostStubFake() {}
19 19
20 virtual void SuggestResolution( 20 virtual void SuggestResolution(
21 const protocol::SuggestResolutionRequest* msg, Task* done); 21 const protocol::SuggestResolutionRequest* msg, Task* done);
22 virtual void BeginSessionRequest(
23 const protocol::LocalLoginCredentials* credentials, Task* done);
22 24
23 private: 25 private:
24 DISALLOW_COPY_AND_ASSIGN(HostStubFake); 26 DISALLOW_COPY_AND_ASSIGN(HostStubFake);
25 }; 27 };
26 28
27 } // namespace remoting 29 } // namespace remoting
28 30
29 #endif // REMOTING_PROTOCOL_HOST_STUB_FAKE_H_ 31 #endif // REMOTING_PROTOCOL_HOST_STUB_FAKE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698