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

Side by Side Diff: chrome/app/nacl_fork_delegate_linux.h

Issue 9429039: Cleanup: Remove base::environment_vector and base::file_handle_mapping_vector to StudlyCaps. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « base/test/multiprocess_test.cc ('k') | chrome/app/nacl_fork_delegate_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2011 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 CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_
6 #define CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_ 6 #define CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10 #include <vector>
11
9 #include "base/basictypes.h" 12 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
11 #include "content/public/common/zygote_fork_delegate_linux.h" 14 #include "content/public/common/zygote_fork_delegate_linux.h"
12 15
13 // The NaClForkDelegate is created during Chrome linux zygote 16 // The NaClForkDelegate is created during Chrome linux zygote
14 // initialization, and provides "fork()" functionality with 17 // initialization, and provides "fork()" functionality with
15 // NaCl specific process characteristics (specifically address 18 // NaCl specific process characteristics (specifically address
16 // space layout) as an alternative to forking the zygote. 19 // space layout) as an alternative to forking the zygote.
17 // A new delegate is passed in as an argument to ZygoteMain(). 20 // A new delegate is passed in as an argument to ZygoteMain().
18 class NaClForkDelegate : public content::ZygoteForkDelegate { 21 class NaClForkDelegate : public content::ZygoteForkDelegate {
(...skipping 26 matching lines...) Expand all
45 kNaClHelperSuccess = 6, 48 kNaClHelperSuccess = 6,
46 kNaClHelperStatusBoundary // Must be one greater than highest value used. 49 kNaClHelperStatusBoundary // Must be one greater than highest value used.
47 }; 50 };
48 51
49 NaClHelperStatus status_; 52 NaClHelperStatus status_;
50 bool sandboxed_; 53 bool sandboxed_;
51 int fd_; 54 int fd_;
52 }; 55 };
53 56
54 #endif // CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_ 57 #endif // CHROME_APP_NACL_FORK_DELEGATE_LINUX_H_
OLDNEW
« no previous file with comments | « base/test/multiprocess_test.cc ('k') | chrome/app/nacl_fork_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698