Chromium Code Reviews

Unified Diff: ppapi/thunk/ppb_pdf_api.h

Issue 2299943002: Record the PDF and top level URL when the PDF plugin crashes. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ppapi/thunk/ppb_pdf_api.h
diff --git a/ppapi/thunk/ppb_pdf_api.h b/ppapi/thunk/ppb_pdf_api.h
index 4f24d52327b37e415a72a474070ba575df43e75f..6c1a24fe52cb7680029a97e4c63dc4170c6462e2 100644
--- a/ppapi/thunk/ppb_pdf_api.h
+++ b/ppapi/thunk/ppb_pdf_api.h
@@ -40,6 +40,8 @@ class PPB_PDF_API {
PP_PrivateAccessibilityPageInfo* page_info,
PP_PrivateAccessibilityTextRunInfo text_runs[],
PP_PrivateAccessibilityCharInfo chars[]) = 0;
+ virtual void SetCrashData(const char* pdf_url, const char* embedder_url) = 0;
raymes 2016/09/05 04:11:47 nit: top_level_url
Lei Zhang 2016/09/07 00:12:39 Done.
+
static const SingletonResourceID kSingletonResourceID = PDF_SINGLETON_ID;
};

Powered by Google App Engine