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

Unified Diff: ppapi/c/private/ppb_pdf.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: Explicitly cast size_t to int 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
« no previous file with comments | « pdf/instance.cc ('k') | ppapi/cpp/private/pdf.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_pdf.h
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h
index fdd62fe3ffe7fb4b5aab548391a9dff3c79632b7..318c21d9d5e37fac2b889cf52c398b57bc86efe7 100644
--- a/ppapi/c/private/ppb_pdf.h
+++ b/ppapi/c/private/ppb_pdf.h
@@ -169,6 +169,13 @@ struct PPB_PDF {
// Sets the link currently under the cursor.
void (*SetLinkUnderCursor)(PP_Instance instance, const char* url);
+
+ // Gets pointers to both the mmap'd V8 snapshot files and their sizes.
+ // This is needed when loading V8's initial snapshot from external files.
+ void (*GetV8ExternalSnapshotData)(const char** natives_data_out,
+ int* natives_size_out,
+ const char** snapshot_data_out,
+ int* snapshot_size_out);
};
#endif // PPAPI_C_PRIVATE_PPB_PDF_H_
« no previous file with comments | « pdf/instance.cc ('k') | ppapi/cpp/private/pdf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698