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

Unified Diff: ppapi/cpp/private/pdf.cc

Issue 2299943002: Record the PDF and top level URL when the PDF plugin crashes. (Closed)
Patch Set: fix typo 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
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/proxy/pdf_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/pdf.cc
diff --git a/ppapi/cpp/private/pdf.cc b/ppapi/cpp/private/pdf.cc
index d314d47b3ef853651862d76549d91f1c88ff799c..dda3fa9ff49f77431342e002457e6c7c56053780 100644
--- a/ppapi/cpp/private/pdf.cc
+++ b/ppapi/cpp/private/pdf.cc
@@ -183,4 +183,14 @@ void PDF::SetAccessibilityPageInfo(
}
}
+// static
+void PDF::SetCrashData(const InstanceHandle& instance,
+ const char* pdf_url,
+ const char* top_level_url) {
+ if (has_interface<PPB_PDF>()) {
+ get_interface<PPB_PDF>()->SetCrashData(instance.pp_instance(), pdf_url,
+ top_level_url);
+ }
+}
+
} // namespace pp
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/proxy/pdf_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698