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); |
}; |