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

Unified Diff: content/browser/content_browser_client.h

Issue 7074025: Get rid of content dependency from sandbox_policy.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/browser/child_process_launcher.cc ('k') | content/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698