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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.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/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index 5389a8be4a323b4c32c8581f978d5751e6522aa6..084682778e139c7cae9f207cec04eb673f8dab47 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -383,6 +383,12 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
void SetLinkUnderCursor(const std::string& url) override;
void SetTextInputType(ui::TextInputType type) override;
void PostMessageToJavaScript(PP_Var message) override;
+#if !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA)
+ const char* GetV8NativesData() const override;
+ const char* GetV8SnapshotData() const override;
+ int GetV8NativesSize() const override;
+ int GetV8SnapshotSize() const override;
+#endif // !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA)
// PPB_Instance_API implementation.
PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) override;

Powered by Google App Engine
This is Rietveld 408576698