Chromium Code Reviews| Index: webkit/plugins/ppapi/plugin_delegate.h |
| diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h |
| index 3428db3de94e3bd3168a5b728d6eb769761ce41e..e0efb0b8624407e0368b69e9f14d4c0385187c5b 100644 |
| --- a/webkit/plugins/ppapi/plugin_delegate.h |
| +++ b/webkit/plugins/ppapi/plugin_delegate.h |
| @@ -664,6 +664,12 @@ class PluginDelegate { |
| // Returns a Device ID |
| virtual std::string GetDeviceID() = 0; |
| + |
| + // Returns restrictions on local data handled by the plug-in. |
| + virtual void GetLocalDataRestrictions(const GURL& document_url, |
| + const GURL& plugin_url, |
| + bool* block_access, |
|
viettrungluu
2012/08/01 13:57:14
I find it odd that you use two bool out parameters
Bernhard Bauer
2012/08/02 03:54:08
I mostly do it because I need to plumb that stuff
viettrungluu
2012/08/02 13:19:33
Really? You could use the real PP_WhateverItWas e
Bernhard Bauer
2012/08/02 18:28:36
Yeah, to break out of content/ I use individual me
|
| + bool* in_memory) = 0; |
| }; |
| } // namespace ppapi |