OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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 #ifndef CHROME_NACL_NACL_LISTENER_H_ |
| 5 #define CHROME_NACL_NACL_LISTENER_H_ |
| 6 #pragma once |
| 7 |
| 8 #include "ipc/ipc_channel.h" |
| 9 #include "chrome/common/nacl_types.h" |
| 10 |
| 11 class NaClListener : public IPC::Channel::Listener { |
| 12 public: |
| 13 NaClListener() {} |
| 14 ~NaClListener() {} |
| 15 |
| 16 private: |
| 17 void OnStartSelLdr(std::vector<nacl::FileDescriptor> handles, |
| 18 bool have_irt_file); |
| 19 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 20 |
| 21 DISALLOW_COPY_AND_ASSIGN(NaClListener); |
| 22 }; |
| 23 |
| 24 #endif // CHROME_NACL_NACL_LISTENER_H_ |
OLD | NEW |