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

Unified Diff: content/browser/android/sandboxed_process_launcher.h

Issue 10949027: Close leaking FDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed last comments and synced. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/android/sandboxed_process_launcher.h
diff --git a/content/browser/android/sandboxed_process_launcher.h b/content/browser/android/sandboxed_process_launcher.h
index 13b36da5a5b6172d916c0d234707831d8cacb614..64deaac7132c2bdf03ce6ed1435d3f4843525a62 100644
--- a/content/browser/android/sandboxed_process_launcher.h
+++ b/content/browser/android/sandboxed_process_launcher.h
@@ -9,9 +9,9 @@
#include "base/callback.h"
#include "base/command_line.h"
-#include "base/global_descriptors_posix.h"
#include "base/platform_file.h"
#include "base/process.h"
+#include "content/public/browser/file_descriptor_info.h"
namespace content {
@@ -22,8 +22,7 @@ typedef base::Callback<void(base::ProcessHandle)> StartSandboxedProcessCallback;
// retuned if the process could not be created.
void StartSandboxedProcess(
const CommandLine::StringVector& argv,
- int ipc_fd,
- const base::GlobalDescriptors::Mapping& files_to_register,
+ const std::vector<FileDescriptorInfo>& files_to_register,
const StartSandboxedProcessCallback& callback);
// Stops a sandboxed process based on the handle returned form
« no previous file with comments | « content/app/android/sandboxed_process_service.cc ('k') | content/browser/android/sandboxed_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698