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

Unified Diff: content/public/browser/content_browser_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
« no previous file with comments | « content/public/browser/browser_child_process_host.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
===================================================================
--- content/public/browser/content_browser_client.h (revision 189099)
+++ content/public/browser/content_browser_client.h (working copy)
@@ -33,11 +33,6 @@
namespace base {
class FilePath;
}
-
-namespace webkit_glue {
-struct WebPreferences;
-}
-
namespace crypto {
class CryptoModuleBlockingPasswordDelegate;
}
@@ -58,10 +53,18 @@
class X509Certificate;
}
+namespace sandbox {
+class TargetPolicy;
+}
+
namespace ui {
class SelectFilePolicy;
}
+namespace webkit_glue {
+struct WebPreferences;
+}
+
namespace content {
class AccessTokenStore;
@@ -500,6 +503,12 @@
#if defined(OS_WIN)
// Returns the name of the dll that contains cursors and other resources.
virtual const wchar_t* GetResourceDllName();
+
+ // This is called on the PROCESS_LAUNCHER thread before the renderer process
+ // is launched. It gives the embedder a chance to add loosen the sandbox
+ // policy.
+ virtual void PreSpawnRenderer(sandbox::TargetPolicy* policy,
+ bool* success) {}
#endif
#if defined(USE_NSS)
« no previous file with comments | « content/public/browser/browser_child_process_host.h ('k') | content/public/common/sandbox_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698