summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/host_stub.h
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 21:42:25 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 21:42:25 +0000
commit5e240672f29d5371b193ca641bab85e8fcc72e7e (patch)
tree3e6b99b8ba30155099c63fcc00bb35cd83d1ecde /remoting/protocol/host_stub.h
parentb92699afc8e0c70dfa9ed198786cba63d38fd5b2 (diff)
downloadchromium_src-5e240672f29d5371b193ca641bab85e8fcc72e7e.zip
chromium_src-5e240672f29d5371b193ca641bab85e8fcc72e7e.tar.gz
chromium_src-5e240672f29d5371b193ca641bab85e8fcc72e7e.tar.bz2
Stub classes for Chromoting and use them in HostMessageDispatcher.
(Landing http://http://codereview.chromium.org/4167011 for hclam) BUG=None TEST=None Review URL: http://codereview.chromium.org/4336001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/host_stub.h')
-rw-r--r--remoting/protocol/host_stub.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/remoting/protocol/host_stub.h b/remoting/protocol/host_stub.h
new file mode 100644
index 0000000..a9e2fa5
--- /dev/null
+++ b/remoting/protocol/host_stub.h
@@ -0,0 +1,36 @@
+// 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.
+
+// Interface of a host that receives commands from a Chromoting client.
+//
+// This interterface handles control messages defined in contro.proto.
+
+#ifndef REMOTING_PROTOCOL_HOST_STUB_H_
+#define REMOTING_PROTOCOL_HOST_STUB_H_
+
+#include "base/basictypes.h"
+
+class Task;
+
+namespace remoting {
+namespace protocol {
+
+class SuggestResolutionRequest;
+
+class HostStub {
+ public:
+ HostStub() {}
+ virtual ~HostStub() {};
+
+ virtual void SuggestResolution(
+ const SuggestResolutionRequest& msg, Task* done) = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(HostStub);
+};
+
+} // namespace protocol
+} // namespace remoting
+
+#endif // REMOTING_PROTOCOL_HOST_STUB_H_