// // SBRWebProcessProxy.h // SBrowser // // Created by James Magahern on 7/22/20. // #import static inline NSString* SBRGetAllowedOriginsKey() { return @"allowedOrigins"; } static inline NSString* SBRGetAllScriptsAllowedKey() { return @"allScriptsAllowed"; } static inline NSString* SBRGetPolicyTypeByOriginKey() { return @"policyTypeByOrigin"; } @protocol SBRWebProcessProxy - (void)hello; - (void)setAllScriptsAllowed:(BOOL)allowed; - (void)syncAllowedResourceOrigins:(NSArray *)allowedOrigins; - (void)syncPolicyTypes:(NSDictionary *)policyTypes; @end