| Index: extensions/shell/browser/shell_content_browser_client.h
|
| diff --git a/extensions/shell/browser/shell_content_browser_client.h b/extensions/shell/browser/shell_content_browser_client.h
|
| index 16e51ca448516b202795243a245d02c085e75a2f..d282397624ffab47f047a5cb015982235ba82450 100644
|
| --- a/extensions/shell/browser/shell_content_browser_client.h
|
| +++ b/extensions/shell/browser/shell_content_browser_client.h
|
| @@ -52,12 +52,21 @@
|
| void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
|
| void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
|
| int child_process_id) override;
|
| + void AppendMappedFileCommandLineSwitches(
|
| + base::CommandLine* command_line) override;
|
| content::SpeechRecognitionManagerDelegate*
|
| CreateSpeechRecognitionManagerDelegate() override;
|
| content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
|
| int plugin_process_id) override;
|
| void GetAdditionalAllowedSchemesForFileSystem(
|
| std::vector<std::string>* additional_schemes) 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::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
|
|
|
| protected:
|
| @@ -73,6 +82,13 @@
|
| // Returns the extension or app associated with |site_instance| or NULL.
|
| const Extension* GetExtension(content::SiteInstance* site_instance);
|
|
|
| +#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| + base::ScopedFD v8_natives_fd_;
|
| + base::ScopedFD v8_snapshot_fd_;
|
| + bool natives_fd_exists() { return v8_natives_fd_ != -1; }
|
| + bool snapshot_fd_exists() { return v8_snapshot_fd_ != -1; }
|
| +#endif
|
| +
|
| // Owned by content::BrowserMainLoop.
|
| ShellBrowserMainParts* browser_main_parts_;
|
|
|
|
|