Index: ppapi/proxy/ppb_flash_proxy.cc |
diff --git a/ppapi/proxy/ppb_flash_proxy.cc b/ppapi/proxy/ppb_flash_proxy.cc |
index 0033a106864b70d5cd6d0afcdf38828eeb9afda8..ba2ae81dfc8069b2151a68730bda9479842a4fc7 100644 |
--- a/ppapi/proxy/ppb_flash_proxy.cc |
+++ b/ppapi/proxy/ppb_flash_proxy.cc |
@@ -307,6 +307,21 @@ PP_Var PPB_Flash_Proxy::GetSetting(PP_Instance instance, |
return PP_MakeUndefined(); |
} |
+PP_Bool PPB_Flash_Proxy::SetCrashData(PP_Instance instance, |
+ PP_FlashCrashKey key, |
+ PP_Var value) { |
+ switch (key) { |
+ case PP_FLASHCRASHKEY_URL: |
+ StringVar *url_string_var(StringVar::FromPPVar(value)); |
+ if (!url_string_var) |
+ return PP_FALSE; |
+ std::string url_string(url_string_var->value()); |
+ PluginGlobals::Get()->plugin_proxy_delegate()->SetActiveURL(url_string); |
+ return PP_TRUE; |
+ } |
+ return PP_FALSE; |
+} |
+ |
PP_Bool PPB_Flash_Proxy::IsClipboardFormatAvailable( |
PP_Instance instance, |
PP_Flash_Clipboard_Type clipboard_type, |