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

Unified Diff: ppapi/api/private/ppb_flash.idl

Issue 10681006: Add ppapi interface for setting crash data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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 | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/private/ppb_flash.idl
diff --git a/ppapi/api/private/ppb_flash.idl b/ppapi/api/private/ppb_flash.idl
index f6c5c7afb47ca5f4086a845bb79d6287dab730c9..12b44b28ca61d996e2cee9f4a496669e1a36a76f 100644
--- a/ppapi/api/private/ppb_flash.idl
+++ b/ppapi/api/private/ppb_flash.idl
@@ -12,7 +12,8 @@ label Chrome {
M19 = 12.1,
M20_0 = 12.2,
M20_1 = 12.3,
- M21 = 12.4
+ M21 = 12.4,
+ M22 = 12.5
};
[assert_size(4)]
@@ -65,6 +66,17 @@ enum PP_FlashSetting {
};
/**
+ * This enum provides keys for setting breakpad crash report data.
+ */
+[assert_size(4)]
+enum PP_FlashCrashKey {
+ /**
+ * Specifies the document URL which contains the flash instance.
+ */
+ PP_FLASHCRASHKEY_URL = 1
+};
+
+/**
* The <code>PPB_Flash</code> interface contains pointers to various functions
* that are only needed to support Pepper Flash.
*/
@@ -202,4 +214,13 @@ interface PPB_Flash {
*/
[version=12.4]
PP_Var GetSetting(PP_Instance instance, PP_FlashSetting setting);
+
+ /**
+ * Allows setting breakpad crash data which will be included in plugin crash
+ * reports. Returns PP_FALSE if crash data could not be set.
+ */
+ [version=12.5]
+ PP_Bool SetCrashData([in] PP_Instance instance,
+ [in] PP_FlashCrashKey key,
+ [in] PP_Var value);
};
« no previous file with comments | « content/ppapi_plugin/ppapi_thread.cc ('k') | ppapi/c/private/ppb_flash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698