Index: remoting/host/host_stub_fake.h |
diff --git a/remoting/host/host_stub_fake.h b/remoting/host/host_stub_fake.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5757b3644fc86a753776d6cd98773df7b119f8ab |
--- /dev/null |
+++ b/remoting/host/host_stub_fake.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// A fake HostStub implementation that does not do anything. |
+ |
+#ifndef REMOTING_PROTOCOL_HOST_STUB_FAKE_H_ |
+#define REMOTING_PROTOCOL_HOST_STUB_FAKE_H_ |
+ |
+#include "base/basictypes.h" |
+#include "remoting/protocol/host_stub.h" |
+ |
+namespace remoting { |
+ |
+class HostStubFake : public protocol::HostStub { |
+ public: |
+ HostStubFake() {} |
+ virtual ~HostStubFake() {} |
+ |
+ virtual void SuggestResolution( |
+ const protocol::SuggestResolutionRequest* msg, Task* done); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(HostStubFake); |
+}; |
+ |
+} // namespace remoting |
+ |
+#endif // REMOTING_PROTOCOL_HOST_STUB_FAKE_H_ |