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

Unified Diff: content/common/sandbox_init_mac.h

Issue 303293002: Initialize the bootstrap sandbox in the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename constant Created 6 years, 6 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/plugin_process_host.cc ('k') | content/common/sandbox_init_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_init_mac.h
diff --git a/content/common/sandbox_init_mac.h b/content/common/sandbox_init_mac.h
index d59fbf8117522422de3ae2bdc292ffaa3a1b5456..5407081414449b1a9a61af80bdf40b3784e26a5e 100644
--- a/content/common/sandbox_init_mac.h
+++ b/content/common/sandbox_init_mac.h
@@ -15,6 +15,14 @@ namespace content {
// returned.
bool InitializeSandbox();
+// The bootstrap server name of the real bootstrap port. This is never used
+// with bootstrap_register, but is instead used with a POLICY_SUBSTITUTE_PORT
+// in the bootstrap sandbox. In child processes, the the launchd/bootstrap
+// sandbox will have replaced the bootstrap port with one controlled by the
+// interception server. This server name can be used to request the original
+// server, from the browser, in NPAPI plugins.
+extern const char kBootstrapPortNameForNPAPIPlugins[];
+
} // namespace content
#endif // CONTENT_COMMON_SANDBOX_INIT_MAC_H_
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/common/sandbox_init_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698