Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3173)

Unified Diff: content/shell/browser/shell_content_browser_client.h

Issue 1156873002: Load v8 snapshots directly from APK (and store them uncompressed) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8initializer
Patch Set: Keep extracting for components/ Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/shell_content_browser_client.h
diff --git a/content/shell/browser/shell_content_browser_client.h b/content/shell/browser/shell_content_browser_client.h
index ce97fbdff13abac15aa6ed609afeae62c596d210..bc0722ee84bef89b46d5539940b5696271be92eb 100644
--- a/content/shell/browser/shell_content_browser_client.h
+++ b/content/shell/browser/shell_content_browser_client.h
@@ -12,6 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/content_browser_client.h"
#include "content/shell/browser/shell_speech_recognition_manager_delegate.h"
+#include "gin/v8_initializer.h"
namespace content {
@@ -110,10 +111,7 @@ class ShellContentBrowserClient : public ContentBrowserClient {
resource_dispatcher_host_delegate_;
#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; }
+ gin::V8Initializer::V8Files v8_files_;
rmcilroy 2015/06/09 11:52:54 Previously the fds were being stored as ScopedFD w
#endif
base::Closure select_client_certificate_callback_;

Powered by Google App Engine
This is Rietveld 408576698