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

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: rename site_url to document_url 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
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 c53be6ada4e5c7c3ace522437a8e796d4b9047d7..0209babbc6f65de40969c000cba13c2bf4526f42 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;
}
+void PepperPluginDelegateImpl::GetLocalDataRestrictions(
+ const GURL& document_url,
+ const GURL& plugin_url,
+ bool* block_access,
+ bool* in_memory) {
+ render_view_->Send(
+ new PepperMsg_GetLocalDataRestrictions(document_url, plugin_url,
+ block_access, in_memory));
+}
+
base::SharedMemory* PepperPluginDelegateImpl::CreateAnonymousSharedMemory(
uint32_t size) {
if (size == 0)

Powered by Google App Engine
This is Rietveld 408576698