| 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..ee743ffd01136e7a73214bff82db292cf0ea5226 100644
|
| --- a/ppapi/proxy/ppb_flash_proxy.cc
|
| +++ b/ppapi/proxy/ppb_flash_proxy.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/logging.h"
|
| #include "base/message_loop.h"
|
| #include "base/time.h"
|
| +#include "googleurl/src/gurl.h"
|
| #include "ppapi/c/dev/ppb_font_dev.h"
|
| #include "ppapi/c/dev/ppb_var_deprecated.h"
|
| #include "ppapi/c/pp_errors.h"
|
| @@ -307,6 +308,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;
|
| + GURL gurl(url_string_var->value());
|
| + PluginGlobals::Get()->plugin_proxy_delegate()->SetActiveURL(gurl);
|
| + return PP_TRUE;
|
| + }
|
| + return PP_FALSE;
|
| +}
|
| +
|
| PP_Bool PPB_Flash_Proxy::IsClipboardFormatAvailable(
|
| PP_Instance instance,
|
| PP_Flash_Clipboard_Type clipboard_type,
|
|
|