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

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

Issue 10855249: [Chromoting] The daemon process now starts the networking process and passes the host configuration… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback and rebased on top of https://chromiumcodereview.appspot.com/10829467/ Created 8 years, 3 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
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_WORKER_PROCESS_DELEGATE_H_
6 #define REMOTING_HOST_WORKER_PROCESS_DELEGATE_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10
11 namespace IPC {
12 class Message;
13 } // namespace IPC
14
15 namespace remoting {
16
17 // An interface representing a worker process that is connected via an IPC
18 // channel.
19 class WorkerProcessDelegate {
20 public:
21 virtual ~WorkerProcessDelegate() {}
22
23 // Notifies that a client has been connected to the channel.
24 virtual void OnChannelConnected() = 0;
25
26 // Processes messages sent by the client.
27 virtual bool OnMessageReceived(const IPC::Message& message) = 0;
28 };
29
30 } // namespace remoting
31
32 #endif // REMOTING_HOST_WORKER_PROCESS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698