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

Unified Diff: content/public/common/content_client.h

Issue 12805004: Remove mention of the nacl process in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
« content/common/sandbox_policy.cc ('K') | « content/common/sandbox_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_client.h
===================================================================
--- content/public/common/content_client.h (revision 188116)
+++ content/public/common/content_client.h (working copy)
@@ -133,7 +133,11 @@
// Returns a native image given its id.
virtual gfx::Image& GetNativeImageNamed(int resource_id) const;
-#if defined(OS_MACOSX) && !defined(OS_IOS)
+#if defined(OS_WIN)
+ // Allows the embedder to modify the sandbox policy of a process.
+ virtual void AddPolicy(CommandLine* command_line,
+ sandbox::TargetPolicy* policy) {}
+#elif defined(OS_MACOSX) && !defined(OS_IOS)
// Allows the embedder to define a new |sandbox_type| by mapping it to the
// resource ID corresponding to the sandbox profile to use. The legal values
// for |sandbox_type| are defined by the embedder and should start with
« content/common/sandbox_policy.cc ('K') | « content/common/sandbox_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698