Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 10831045: Add PP_FlashLSORestrictions to the list of settings supported by the Flash_GetSetting Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brett Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_flash.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index d1ebbc3016a16bca26b570f5f650b5d403703f83..c4d8891516f00b2b48d2c049e4dde92f9ac3c0ce 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -1402,6 +1402,16 @@ std::string PepperPluginDelegateImpl::GetDeviceID() {
return result;
}
+PP_FlashLSORestrictions PepperPluginDelegateImpl::GetLocalDataRestrictions(
+ const GURL& document_url,
+ const GURL& plugin_url) {
+ PP_FlashLSORestrictions restrictions = PP_FLASHLSORESTRICTIONS_NONE;
+ render_view_->Send(
+ new PepperMsg_GetLocalDataRestrictions(document_url, plugin_url,
+ &restrictions));
+ return restrictions;
+}
+
base::SharedMemory* PepperPluginDelegateImpl::CreateAnonymousSharedMemory(
uint32_t size) {
if (size == 0)
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.h ('k') | ppapi/api/private/ppb_flash.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698