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

Side by Side Diff: components/nacl/common/nacl_helper_linux.h

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_NACL_HELPER_LINUX_H_ 5 #ifndef COMPONENTS_NACL_COMMON_NACL_HELPER_LINUX_H_
6 #define CHROME_COMMON_NACL_HELPER_LINUX_H_ 6 #define COMPONENTS_NACL_COMMON_NACL_HELPER_LINUX_H_
7 7
8 // A mini-zygote specifically for Native Client. This file defines 8 // A mini-zygote specifically for Native Client. This file defines
9 // constants used to implement communication between the nacl_helper 9 // constants used to implement communication between the nacl_helper
10 // process and the Chrome zygote. 10 // process and the Chrome zygote.
11 11
12 // Used by Helper to tell Zygote it has started successfully. 12 // Used by Helper to tell Zygote it has started successfully.
13 #define kNaClHelperStartupAck "NACLHELPER_OK" 13 #define kNaClHelperStartupAck "NACLHELPER_OK"
14 // Used by Zygote to ask Helper to fork a new NaCl loader. 14 // Used by Zygote to ask Helper to fork a new NaCl loader.
15 #define kNaClForkRequest "NACLFORK" 15 #define kNaClForkRequest "NACLFORK"
16 16
(...skipping 15 matching lines...) Expand all
32 // of three file descriptors. These constants are used as indicies 32 // of three file descriptors. These constants are used as indicies
33 // into the array. 33 // into the array.
34 // Used to pass in the descriptor for talking to the Browser 34 // Used to pass in the descriptor for talking to the Browser
35 #define kNaClBrowserFDIndex 0 35 #define kNaClBrowserFDIndex 0
36 // The next two are used in the protocol for discovering the 36 // The next two are used in the protocol for discovering the
37 // child processes real PID from within the SUID sandbox. See 37 // child processes real PID from within the SUID sandbox. See
38 // http://code.google.com/p/chromium/wiki/LinuxZygote 38 // http://code.google.com/p/chromium/wiki/LinuxZygote
39 #define kNaClDummyFDIndex 1 39 #define kNaClDummyFDIndex 1
40 #define kNaClParentFDIndex 2 40 #define kNaClParentFDIndex 2
41 41
42 #endif // CHROME_COMMON_NACL_HELPER_LINUX_H_ 42 #endif // COMPONENTS_NACL_COMMON_NACL_HELPER_LINUX_H_
OLDNEW
« no previous file with comments | « components/nacl/common/nacl_fork_delegate_linux.h ('k') | components/nacl/common/nacl_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698