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

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

Issue 7395024: For Linux, create a ZygoteForkDelegate that uses the nacl_helper executable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Presubmit: fixing a copyright header. 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
« no previous file with comments | « chrome/nacl/nacl_helper_linux.cc ('k') | chrome/nacl/nacl_launcher_thread.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 (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_THREAD_H_
6 #define CHROME_NACL_NACL_THREAD_H_
7 #pragma once
8
9 #include "base/native_library.h"
10 #include "chrome/common/nacl_types.h"
11 #include "content/common/child_thread.h"
12
13 // The NaClLauncherThread class represents a background thread where
14 // NaCl app gets started.
15 class NaClLauncherThread : public ChildThread {
16 public:
17 explicit NaClLauncherThread(bool debug);
18 virtual ~NaClLauncherThread();
19 // Returns the one NaCl thread.
20 static NaClLauncherThread* current();
21
22 private:
23 virtual bool OnControlMessageReceived(const IPC::Message& msg);
24 void OnStartSelLdr(std::vector<nacl::FileDescriptor> handles,
25 bool have_irt_file);
26
27 int debug_enabled_;
28
29 // TODO(gregoryd): do we need to override Cleanup as in PluginThread?
30 DISALLOW_COPY_AND_ASSIGN(NaClLauncherThread);
31 };
32
33 #endif // CHROME_NACL_NACL_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_helper_linux.cc ('k') | chrome/nacl/nacl_launcher_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698