Index: ppapi/proxy/flash_resource.cc |
=================================================================== |
--- ppapi/proxy/flash_resource.cc (revision 194456) |
+++ ppapi/proxy/flash_resource.cc (working copy) |
@@ -7,6 +7,7 @@ |
#include <cmath> |
#include "base/containers/mru_cache.h" |
+#include "base/debug/crash_logging.h" |
#include "base/lazy_instance.h" |
#include "base/time.h" |
#include "ppapi/c/pp_errors.h" |
@@ -91,6 +92,13 @@ |
PluginGlobals::Get()->SetActiveURL(url_string_var->value()); |
raymes1
2013/04/16 23:31:54
Maybe change this one to the same code as the one
Cris Neckar
2013/04/17 19:20:31
Done.
|
return PP_TRUE; |
} |
+ case PP_FLASHCRASHKEY_RESOURCE_URL: { |
+ StringVar* url_string_var(StringVar::FromPPVar(value)); |
+ if (!url_string_var) |
+ return PP_FALSE; |
+ base::debug::SetCrashKeyValue("subresource_url", url_string_var->value()); |
+ return PP_TRUE; |
+ } |
} |
return PP_FALSE; |
} |