Index: chrome/browser/chrome_content_browser_client.h |
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h |
index d618af5287a740a262561125b28c715650741f01..9edd155f6d502010b6b39b67bc9ea5a438f869f0 100644 |
--- a/chrome/browser/chrome_content_browser_client.h |
+++ b/chrome/browser/chrome_content_browser_client.h |
@@ -112,6 +112,8 @@ |
const std::string& alias_name) override; |
void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
int child_process_id) override; |
+ void AppendMappedFileCommandLineSwitches( |
+ base::CommandLine* command_line) override; |
std::string GetApplicationLocale() override; |
std::string GetAcceptLangs(content::BrowserContext* context) override; |
const gfx::ImageSkia* GetDefaultFavicon() override; |
@@ -305,6 +307,13 @@ |
std::set<std::string> allowed_dev_channel_origins_; |
#endif |
+#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 // OS_POSIX && !OS_MACOSX |
+ |
// Vector of additional ChromeContentBrowserClientParts. |
// Parts are deleted in the reverse order they are added. |
std::vector<ChromeContentBrowserClientParts*> extra_parts_; |