- added a few more bits of SPI
[WebKit-https.git] / WebKitLibraries / WebKitSystemInterface.h
index 3a72eb15e29f52290da193c5a23e352de812c6b8..a0bca6e32a9552e4ec13b911e65a97e08f82b2e2 100644 (file)
@@ -16,3 +16,16 @@ typedef enum {
 CFStringRef WKCopyCFLocalizationPreferredName(CFStringRef localization);
 CFStringRef WKSignedPublicKeyAndChallengeString(unsigned keySize, CFStringRef challenge, CFStringRef keyDescription);
 WKCertificateParseResult WKAddCertificatesToKeychainFromData(const void *bytes, unsigned length);
+
+NSString *WKGetPreferredExtensionForMIMEType(NSString *type);
+NSArray *WKGetExtensionsForMIMEType(NSString *type);
+NSString *WKGetMIMETypeForExtension(NSString *extension);
+
+NSDate *WKGetNSURLResponseLastModifiedDate(NSURLResponse *response);
+NSTimeInterval WKGetNSURLResponseFreshnessLifetime(NSURLResponse *response);
+NSTimeInterval WKGetNSURLResponseCalculatedExpiration(NSURLResponse *response);
+BOOL WKGetNSURLResponseMustRevalidate(NSURLResponse *response);
+
+CFStringEncoding WKGetWebDefaultCFStringEncoding();
+
+float WKSecondsSinceLastInputEvent();
\ No newline at end of file