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

Side by Side Diff: chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/browser/crash_handler_host_linux.cc ('k') | chrome/browser/mac/relauncher.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 (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 #include "chrome/browser/extensions/api/messaging/native_process_launcher.h" 5 #include "chrome/browser/extensions/api/messaging/native_process_launcher.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/eintr_wrapper.h"
9 #include "base/file_util.h" 8 #include "base/file_util.h"
10 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/posix/eintr_wrapper.h"
11 #include "base/process_util.h" 11 #include "base/process_util.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 bool NativeProcessLauncher::LaunchNativeProcess( 15 bool NativeProcessLauncher::LaunchNativeProcess(
16 const FilePath& path, 16 const FilePath& path,
17 base::ProcessHandle* native_process_handle, 17 base::ProcessHandle* native_process_handle,
18 NativeMessageProcessHost::FileHandle* read_file, 18 NativeMessageProcessHost::FileHandle* read_file,
19 NativeMessageProcessHost::FileHandle* write_file) const { 19 NativeMessageProcessHost::FileHandle* write_file) const {
20 base::FileHandleMappingVector fd_map; 20 base::FileHandleMappingVector fd_map;
(...skipping 28 matching lines...) Expand all
49 write_pipe_read_fd.reset(); 49 write_pipe_read_fd.reset();
50 read_pipe_write_fd.reset(); 50 read_pipe_write_fd.reset();
51 51
52 *read_file = *read_pipe_read_fd.release(); 52 *read_file = *read_pipe_read_fd.release();
53 *write_file = *write_pipe_write_fd.release(); 53 *write_file = *write_pipe_write_fd.release();
54 54
55 return true; 55 return true;
56 } 56 }
57 57
58 } // namespace extensions 58 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/crash_handler_host_linux.cc ('k') | chrome/browser/mac/relauncher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698