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

Unified Diff: content/public/browser/file_descriptor_info.h

Issue 2594203004: Unifying ChildProcessLauncher across platforms. (Closed)
Patch Set: Clean-up. Created 3 years, 11 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
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/file_descriptor_info.h
diff --git a/content/public/browser/file_descriptor_info.h b/content/public/browser/file_descriptor_info.h
index 4fc686b538e51f9ca5329ec535eb3c09ca546e02..ef44a083926f4caf2b09c766bda436a6fa7fa47d 100644
--- a/content/public/browser/file_descriptor_info.h
+++ b/content/public/browser/file_descriptor_info.h
@@ -7,6 +7,8 @@
#include <stddef.h>
+#include <memory>
+
#include "base/files/file.h"
#include "base/files/memory_mapped_file.h"
#include "base/process/launch.h"
@@ -41,8 +43,8 @@ class FileDescriptorInfo {
// A GetMapping() variant that adjusts the ID value by |delta|.
// Some environments need this trick.
- virtual base::FileHandleMappingVector GetMappingWithIDAdjustment(
- int delta) const = 0;
+ virtual std::unique_ptr<base::FileHandleMappingVector>
+ GetMappingWithIDAdjustment(int delta) const = 0;
// API for iterating over the registered ID-FD pairs.
virtual base::PlatformFile GetFDAt(size_t i) const = 0;
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698