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

Side by Side Diff: components/nacl/loader/nonsfi/nonsfi_main.h

Issue 418133006: Replace the argument of nonsfi::MainStart with raw file descriptor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « components/nacl/loader/nacl_listener.cc ('k') | components/nacl/loader/nonsfi/nonsfi_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ 5 #ifndef COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_
6 #define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ 6 #define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_
7 7
8 struct NaClDesc;
9
10 namespace nacl { 8 namespace nacl {
11 namespace nonsfi { 9 namespace nonsfi {
12 10
13 // Launch NaCl with Non SFI mode. This takes the ownership of |nexe_file|. 11 // Launch NaCl with Non SFI mode. This takes the ownership of |nexe_file|.
14 void MainStart(NaClDesc* nexe_file); 12 void MainStart(int nexe_file);
15 13
16 } // namespace nonsfi 14 } // namespace nonsfi
17 } // namespace nacl 15 } // namespace nacl
18 16
19 #endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ 17 #endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_listener.cc ('k') | components/nacl/loader/nonsfi/nonsfi_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698