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

Side by Side Diff: components/nacl/loader/listener_delegate.h

Issue 439713002: Refactoring: Split NaClListener into two delegated classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « components/nacl.gyp ('k') | components/nacl/loader/nacl_helper_linux.cc » ('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 COMPONENTS_NACL_LOADER_LISTENER_DELEGATE_H_
6 #define COMPONENTS_NACL_LOADER_LISTENER_DELEGATE_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "ipc/ipc_channel_handle.h"
10
11 namespace base {
12 class MessageLoopProxy;
13 } // namespace base
14
15 namespace IPC {
16 class Sender;
17 } // namespace IPC
18
19 namespace nacl {
20
21 struct NaClStartParams;
22
23 class ListenerDelegate {
24 public:
25 virtual ~ListenerDelegate() {}
26
27 // Called when the plugin start message is alived from the browser process.
teravest 2014/08/04 21:15:27 Do you mean received instead of alived?
hidehiko 2014/08/05 04:07:26 You're right. Fixed.
28 virtual void Start(const NaClStartParams& params,
29 scoped_refptr<base::MessageLoopProxy> io_loop_proxy,
30 IPC::ChannelHandle trusted_channel_handle,
31 IPC::Sender* sender) = 0;
32 };
33
34 } // namespace nacl
35
36 #endif // COMPONENTS_NACL_LOADER_LISTENER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/nacl.gyp ('k') | components/nacl/loader/nacl_helper_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698