Index: ash/shell/content_client/shell_content_browser_client.h |
diff --git a/ash/shell/content_client/shell_content_browser_client.h b/ash/shell/content_client/shell_content_browser_client.h |
index 1a5eb4403af7b0f771014d0c682f9bd02f0369cf..432f45a53ac583902b4717228859d852f8975da4 100644 |
--- a/ash/shell/content_client/shell_content_browser_client.h |
+++ b/ash/shell/content_client/shell_content_browser_client.h |
@@ -33,10 +33,26 @@ |
content::BrowserContext* browser_context, |
content::ProtocolHandlerMap* protocol_handlers, |
content::URLRequestInterceptorScopedVector request_interceptors) override; |
+ void AppendMappedFileCommandLineSwitches( |
+ base::CommandLine* command_line) override; |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+ void GetAdditionalMappedFilesForChildProcess( |
+ const base::CommandLine& command_line, |
+ int child_process_id, |
+ content::FileDescriptorInfo* mappings) override; |
+#endif |
content::ShellBrowserContext* browser_context(); |
private: |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+ bool natives_fd_exists() { return v8_natives_fd_.is_valid(); } |
+ bool snapshot_fd_exists() { return v8_snapshot_fd_.is_valid(); } |
+ |
+ base::ScopedFD v8_natives_fd_; |
+ base::ScopedFD v8_snapshot_fd_; |
+#endif |
+ |
ShellBrowserMainParts* shell_browser_main_parts_; |
DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); |