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

Unified Diff: ppapi/c/private/ppb_pdf.h

Issue 2299943002: Record the PDF and top level URL when the PDF plugin crashes. (Closed)
Patch Set: Remove logging Created 4 years, 3 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: ppapi/c/private/ppb_pdf.h
diff --git a/ppapi/c/private/ppb_pdf.h b/ppapi/c/private/ppb_pdf.h
index da85c45bebee5d4c8fd8a65b225d62450488f77a..06ddf7e23ec49c51b0b48fd4181e2bfc9e9e2258 100644
--- a/ppapi/c/private/ppb_pdf.h
+++ b/ppapi/c/private/ppb_pdf.h
@@ -157,6 +157,11 @@ struct PPB_PDF {
struct PP_PrivateAccessibilityPageInfo* page_info,
struct PP_PrivateAccessibilityTextRunInfo text_runs[],
struct PP_PrivateAccessibilityCharInfo chars[]);
+
+ // Sends information about the PDF's URL and the embedder's URL.
+ void (*SetCrashData)(PP_Instance instance,
+ const char* pdf_url,
+ const char* top_level_url);
};
#endif // PPAPI_C_PRIVATE_PPB_PDF_H_

Powered by Google App Engine
This is Rietveld 408576698