Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |