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

Unified Diff: content/common/sandbox_init_mac.h

Issue 2944623003: Call SetApplicationIsDaemon() in V2 sandbox. (Closed)
Patch Set: Split warmup and initialization into separate phases Created 3 years, 5 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
Index: content/common/sandbox_init_mac.h
diff --git a/content/common/sandbox_init_mac.h b/content/common/sandbox_init_mac.h
index 8f860efd048daa9196d88e82c5e573ee6ab62b24..ea41dbe31c14f3b8b221bffcf7f76a3de672d148 100644
--- a/content/common/sandbox_init_mac.h
+++ b/content/common/sandbox_init_mac.h
@@ -15,6 +15,13 @@ namespace content {
// returned.
bool InitializeSandbox();
+// These two functions expose the warmup and initialization on the sandbox as
+// separate operations. This allows callers to perform specific operations after
+// the sandbox is warmed up but before it is enabled.
+void ExplicitlyWarmupSandbox();
Robert Sesek 2017/07/06 21:28:09 I know this is probably temporary code, but this i
Greg K 2017/07/07 18:10:21 Done.
+
+bool ExplicitlyEnableSandbox();
+
} // namespace content
#endif // CONTENT_COMMON_SANDBOX_INIT_MAC_H_
« no previous file with comments | « no previous file | content/common/sandbox_init_mac.cc » ('j') | content/renderer/renderer_main_platform_delegate_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698