Index: ppapi/cpp/private/pdf.cc |
diff --git a/ppapi/cpp/private/pdf.cc b/ppapi/cpp/private/pdf.cc |
index ac5b941fad4f920394c3d8f476ec056d532804fc..b42a877190f4579652918cdea4c9ac6155240a21 100644 |
--- a/ppapi/cpp/private/pdf.cc |
+++ b/ppapi/cpp/private/pdf.cc |
@@ -197,4 +197,34 @@ void PDF::SetLinkUnderCursor(const InstanceHandle& instance, const char* url) { |
get_interface<PPB_PDF>()->SetLinkUnderCursor(instance.pp_instance(), url); |
} |
+#if !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA) |
+// static |
+const char* PDF::GetV8NativesData(const InstanceHandle& instance) { |
+ if (has_interface<PPB_PDF>()) |
+ return get_interface<PPB_PDF>()->GetV8NativesData(instance.pp_instance()); |
+ return NULL; |
+} |
+ |
+// static |
+const char* PDF::GetV8SnapshotData(const InstanceHandle& instance) { |
+ if (has_interface<PPB_PDF>()) |
+ return get_interface<PPB_PDF>()->GetV8SnapshotData(instance.pp_instance()); |
+ return NULL; |
+} |
+ |
+// static |
+int PDF::GetV8NativesSize(const InstanceHandle& instance) { |
+ if (has_interface<PPB_PDF>()) |
+ return get_interface<PPB_PDF>()->GetV8NativesSize(instance.pp_instance()); |
+ return 0; |
+} |
+ |
+// static |
+int PDF::GetV8SnapshotSize(const InstanceHandle& instance) { |
+ if (has_interface<PPB_PDF>()) |
+ return get_interface<PPB_PDF>()->GetV8SnapshotSize(instance.pp_instance()); |
+ return 0; |
+} |
+#endif // #if !defined(OS_ANDROID) && defined(V8_USE_EXTERNAL_STARTUP_DATA) |
+ |
} // namespace pp |