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

Unified Diff: content/common/sandbox_init_mac.h

Issue 2944623003: Call SetApplicationIsDaemon() in V2 sandbox. (Closed)
Patch Set: Only execute callback if not-null 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
« no previous file with comments | « no previous file | 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 8f860efd048daa9196d88e82c5e573ee6ab62b24..375b3d992db17e7fc93c74ee841d37e86840f0dd 100644
--- a/content/common/sandbox_init_mac.h
+++ b/content/common/sandbox_init_mac.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_COMMON_SANDBOX_INIT_MAC_H_
#define CONTENT_COMMON_SANDBOX_INIT_MAC_H_
+#include "base/callback_forward.h"
+
namespace content {
// Initialize the sandbox for renderer, gpu, utility, worker, and plugin
@@ -15,6 +17,10 @@ namespace content {
// returned.
bool InitializeSandbox();
+// Initializes the sandbox, as described above, but executes the callback after
+// warmup and before initialization.
+bool InitializeSandboxWithPostWarmupHook(base::OnceClosure hook);
+
} // namespace content
#endif // CONTENT_COMMON_SANDBOX_INIT_MAC_H_
« no previous file with comments | « no previous file | content/common/sandbox_init_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698