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

Unified Diff: content/public/renderer/pepper_plugin_instance.h

Issue 705623002: Initialize V8 in PDFium from external files (in-renderer process only). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/public/renderer/pepper_plugin_instance.h
diff --git a/content/public/renderer/pepper_plugin_instance.h b/content/public/renderer/pepper_plugin_instance.h
index d397fbc2ad0108695175ab244c67eae37e018de7..56e7d87de58588309f722c5a9aa6a1acf62b7f3a 100644
--- a/content/public/renderer/pepper_plugin_instance.h
+++ b/content/public/renderer/pepper_plugin_instance.h
@@ -117,6 +117,13 @@ class PepperPluginInstance {
// Posts a message to the JavaScript object for this instance.
virtual void PostMessageToJavaScript(PP_Var message) = 0;
+
+#if !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA)
+ virtual const char* GetV8NativesData() const = 0;
+ virtual const char* GetV8SnapshotData() const = 0;
+ virtual int GetV8NativesSize() const = 0;
+ virtual int GetV8SnapshotSize() const = 0;
+#endif // !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA)
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698