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

Side by Side Diff: chrome/nacl/nacl_listener.h

Issue 6995121: New NaCl zygote implementation 2 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Missing include... Created 9 years, 5 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) 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
5 #ifndef CHROME_NACL_NACL_LISTENER_H_
6 #define CHROME_NACL_NACL_LISTENER_H_
7 #pragma once
8
9 #include "base/native_library.h"
Evan Martin 2011/06/27 18:49:32 What do we use this for?
Brad Chen 2011/06/27 22:06:25 It was defining OS_POSIX, needed by nacl_types.h.
10 #include "chrome/common/nacl_types.h"
11 #include "ipc/ipc_channel.h"
12
13 // The NaClListener is an IPC channel listener that waits for a
14 // request to start a NaCl module.
15 class NaClListener : public IPC::Channel::Listener {
16 public:
17 NaClListener();
18 ~NaClListener();
19 // Listen for a request to launch a NaCl module.
20 void Listen();
21
22 private:
23 void OnStartSelLdr(std::vector<nacl::FileDescriptor> handles,
24 bool have_irt_file);
25 virtual bool OnMessageReceived(const IPC::Message& msg);
26
27 DISALLOW_COPY_AND_ASSIGN(NaClListener);
28 };
29
30 #endif // CHROME_NACL_NACL_LISTENER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698