Index: chromecast/browser/cast_content_browser_client.h |
diff --git a/chromecast/browser/cast_content_browser_client.h b/chromecast/browser/cast_content_browser_client.h |
index 942a4c0194e5c8544c20007fa47bac4cdfdb6d28..092d0a79c05d96fab7fcd7953fa8b6e27a769523 100644 |
--- a/chromecast/browser/cast_content_browser_client.h |
+++ b/chromecast/browser/cast_content_browser_client.h |
@@ -78,6 +78,8 @@ |
bool IsHandledURL(const GURL& url) override; |
void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
int child_process_id) override; |
+ void AppendMappedFileCommandLineSwitches( |
+ base::CommandLine* command_line) override; |
content::AccessTokenStore* CreateAccessTokenStore() override; |
void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
content::WebPreferences* prefs) override; |
@@ -149,6 +151,11 @@ |
std::map<std::string, breakpad::CrashHandlerHostLinux*> crash_handlers_; |
#endif |
+ 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; } |
+ |
scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |