summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_stub_fake.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/host_stub_fake.h')
-rw-r--r--remoting/host/host_stub_fake.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/remoting/host/host_stub_fake.h b/remoting/host/host_stub_fake.h
new file mode 100644
index 0000000..5757b36
--- /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_