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_ |