diff options
Diffstat (limited to 'ash/shell/content_client/shell_content_browser_client.h')
-rw-r--r-- | ash/shell/content_client/shell_content_browser_client.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ash/shell/content_client/shell_content_browser_client.h b/ash/shell/content_client/shell_content_browser_client.h index 9ee3373..432f45a 100644 --- a/ash/shell/content_client/shell_content_browser_client.h +++ b/ash/shell/content_client/shell_content_browser_client.h @@ -33,8 +33,8 @@ class ShellContentBrowserClient : public content::ContentBrowserClient { content::BrowserContext* browser_context, content::ProtocolHandlerMap* protocol_handlers, content::URLRequestInterceptorScopedVector request_interceptors) override; - void AppendExtraCommandLineSwitches(base::CommandLine* command_line, - int child_process_id) override; + void AppendMappedFileCommandLineSwitches( + base::CommandLine* command_line) override; #if defined(OS_POSIX) && !defined(OS_MACOSX) void GetAdditionalMappedFilesForChildProcess( const base::CommandLine& command_line, @@ -46,6 +46,9 @@ class ShellContentBrowserClient : public content::ContentBrowserClient { 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 |