blob: e19bcbef5d7b7e185deebda22384e07dfb8d79cf [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_APP_IOS_APPEX_CHILD_PROCESS_BRIDGE_H_
#define CONTENT_APP_IOS_APPEX_CHILD_PROCESS_BRIDGE_H_
#import <Foundation/Foundation.h>
#import <xpc/xpc.h>
@protocol ChildProcessExtension <NSObject>
- (void)applySandbox;
@end
#ifdef __cplusplus
extern "C" {
#endif
void ChildProcessStarted();
void ChildProcessInit(id<ChildProcessExtension> process);
void GpuProcessInit();
void ChildProcessHandleNewConnection(xpc_connection_t connection);
#ifdef __cplusplus
}
#endif
#endif // CONTENT_APP_IOS_APPEX_CHILD_PROCESS_BRIDGE_H_