Index: content/browser/renderer_host/pepper/pepper_message_filter.cc |
diff --git a/content/browser/renderer_host/pepper/pepper_message_filter.cc b/content/browser/renderer_host/pepper/pepper_message_filter.cc |
index c9bda2d89e933f850245a1e3d79cef37f3ed43f6..11e618d9ad9f4be04e51e66afb68453dde7c215a 100644 |
--- a/content/browser/renderer_host/pepper/pepper_message_filter.cc |
+++ b/content/browser/renderer_host/pepper/pepper_message_filter.cc |
@@ -182,10 +182,6 @@ bool PepperMessageFilter::OnMessageReceived(const IPC::Message& msg, |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBX509Certificate_ParseDER, |
OnX509CertificateParseDER); |
- // Flash messages. |
- IPC_MESSAGE_HANDLER(PepperMsg_GetLocalDataRestrictions, |
- OnGetLocalDataRestrictions) |
- |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP_EX() |
return handled; |
@@ -702,25 +698,6 @@ void PepperMessageFilter::OnX509CertificateParseDER( |
result); |
} |
-void PepperMessageFilter::OnGetLocalDataRestrictions( |
- const GURL& document_url, |
- const GURL& plugin_url, |
- PP_FlashLSORestrictions* restrictions) { |
- ContentBrowserClient* client = GetContentClient()->browser(); |
- if (!client->AllowPluginLocalDataAccess(document_url, plugin_url, |
- resource_context_)) { |
- *restrictions = PP_FLASHLSORESTRICTIONS_BLOCK; |
- return; |
- } |
- |
- if (client->AllowPluginLocalDataSessionOnly(plugin_url, resource_context_)) { |
- *restrictions = PP_FLASHLSORESTRICTIONS_IN_MEMORY; |
- return; |
- } |
- |
- *restrictions = PP_FLASHLSORESTRICTIONS_NONE; |
-} |
- |
void PepperMessageFilter::GetFontFamiliesComplete( |
IPC::Message* reply_msg, |
scoped_ptr<base::ListValue> result) { |