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

Unified Diff: gin/v8_initializer.h

Issue 1665513002: Pass both 32 and 64 bit snapshot and natives fds to child processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: avoid non-POD global Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_descriptors.h ('k') | gin/v8_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/v8_initializer.h
diff --git a/gin/v8_initializer.h b/gin/v8_initializer.h
index dcb5329d074383f6a80a4aab34848d2935596df3..4c0348048127c16b0fd3bd8ce317688926623801 100644
--- a/gin/v8_initializer.h
+++ b/gin/v8_initializer.h
@@ -65,6 +65,19 @@ class GIN_EXPORT V8Initializer {
// Will return -1 if the file does not exist.
static base::PlatformFile GetOpenSnapshotFileForChildProcesses(
base::MemoryMappedFile::Region* region_out);
+
+#if defined(OS_ANDROID)
+ static base::PlatformFile GetOpenNativesFileForChildProcesses(
+ base::MemoryMappedFile::Region* region_out,
+ bool abi_32_bit);
+ static base::PlatformFile GetOpenSnapshotFileForChildProcesses(
+ base::MemoryMappedFile::Region* region_out,
+ bool abi_32_bit);
+
+ static base::FilePath GetNativesFilePath(bool abi_32_bit);
+ static base::FilePath GetSnapshotFilePath(bool abi_32_bit);
+#endif
+
#endif // V8_USE_EXTERNAL_STARTUP_DATA
};
« no previous file with comments | « content/public/common/content_descriptors.h ('k') | gin/v8_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698