Files
Attractor/SBrowserProcessBundle/SBRWebProcessProxy.h

25 lines
481 B
C
Raw Normal View History

//
// SBRWebProcessProxy.h
// SBrowser
//
// Created by James Magahern on 7/22/20.
//
#import <Foundation/Foundation.h>
static inline NSString* SBRGetAllowedOriginsKey() {
return @"allowedOrigins";
}
static inline NSString* SBRGetAllScriptsAllowedKey() {
return @"allScriptsAllowed";
}
@protocol SBRWebProcessProxy <NSObject>
- (void)hello;
2020-07-24 19:26:35 -07:00
- (void)syncAllowedResourceOrigins:(NSArray<NSString *> *)allowedOrigins;
- (void)setAllScriptsAllowed:(BOOL)allowed;
@end