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

Unified Diff: remoting/host/host_stub_fake.h

Issue 4975003: Introduce a fake HostStub since there's no need to handle it now (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: give HostStubFake Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/host_stub_fake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/host/host_stub_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698