| Index: content/browser/content_browser_client.h
|
| ===================================================================
|
| --- content/browser/content_browser_client.h (revision 86986)
|
| +++ content/browser/content_browser_client.h (working copy)
|
| @@ -24,6 +24,10 @@
|
| class CookieOptions;
|
| }
|
|
|
| +namespace sandbox {
|
| +class TargetPolicy;
|
| +}
|
| +
|
| namespace content {
|
|
|
| class ResourceContext;
|
| @@ -105,6 +109,12 @@
|
| // Can return an optional fd for crash handling, otherwise returns -1.
|
| virtual int GetCrashSignalFD(const std::string& process_type);
|
| #endif
|
| +
|
| +#if defined(OS_WIN)
|
| + // Allows the embedder to sandbox a plugin, and apply a custom policy.
|
| + virtual bool SandboxPlugin(CommandLine* command_line,
|
| + sandbox::TargetPolicy* policy);
|
| +#endif
|
| };
|
|
|
| } // namespace content
|
|
|