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

Side by Side Diff: remoting/host/host_extension_session.h

Issue 301453003: Host extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed remoting_host.gypi Created 6 years, 6 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/host_extension.h ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_HOST_EXTENSION_SESSION_H_
6 #define REMOTING_HOST_HOST_EXTENSION_SESSION_H_
7
8 namespace remoting {
9
10 namespace protocol {
11 class ExtensionMessage;
12 } // namespace protocol
13
14 class ClientSession;
15
16 // Created by an |HostExtension| to store |ClientSession| specific state, and to
17 // handle extension messages.
18 class HostExtensionSession {
19 public:
20 virtual ~HostExtensionSession() {}
21
22 // Called when the host receives an |ExtensionMessage| for the |ClientSession|
23 // associated with this |HostExtensionSession|.
24 // It returns |true| if the message was handled, and |false| otherwise.
25 virtual bool OnExtensionMessage(
26 ClientSession* client_session,
27 const protocol::ExtensionMessage& message) = 0;
28 };
29
30 } // namespace remoting
31
32 #endif // REMOTING_HOST_HOST_EXTENSION_SESSION_H_
33
OLDNEW
« no previous file with comments | « remoting/host/host_extension.h ('k') | remoting/host/host_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698