OLD | NEW |
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_ |
OLD | NEW |