OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_APP_NACL_FORK_DELEGATE_LINUX_H_ | 5 #ifndef COMPONENTS_NACL_COMMON_NACL_FORK_DELEGATE_LINUX_H_ |
6 #define CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_ | 6 #define COMPONENTS_NACL_COMMON_NACL_FORK_DELEGATE_LINUX_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "content/public/common/zygote_fork_delegate_linux.h" | 13 #include "content/public/common/zygote_fork_delegate_linux.h" |
14 | 14 |
15 // The NaClForkDelegate is created during Chrome linux zygote | 15 // The NaClForkDelegate is created during Chrome linux zygote |
16 // initialization, and provides "fork()" functionality with | 16 // initialization, and provides "fork()" functionality with |
(...skipping 26 matching lines...) Expand all Loading... |
43 kNaClHelperLaunchFailed = 4, | 43 kNaClHelperLaunchFailed = 4, |
44 kNaClHelperAckFailed = 5, | 44 kNaClHelperAckFailed = 5, |
45 kNaClHelperSuccess = 6, | 45 kNaClHelperSuccess = 6, |
46 kNaClHelperStatusBoundary // Must be one greater than highest value used. | 46 kNaClHelperStatusBoundary // Must be one greater than highest value used. |
47 }; | 47 }; |
48 | 48 |
49 NaClHelperStatus status_; | 49 NaClHelperStatus status_; |
50 int fd_; | 50 int fd_; |
51 }; | 51 }; |
52 | 52 |
53 #endif // CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_ | 53 #endif // COMPONENTS_NACL_COMMON_NACL_FORK_DELEGATE_LINUX_H_ |
OLD | NEW |