Bug 71245 - Add more APIs to WKUserContentURLPattern.h
Summary: Add more APIs to WKUserContentURLPattern.h
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jeff Miller
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-10-31 15:32 PDT by Jeff Miller
Modified: 2011-10-31 15:55 PDT (History)
1 user (show)

See Also:


Attachments
Patch (4.33 KB, patch)
2011-10-31 15:38 PDT, Jeff Miller
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Miller 2011-10-31 15:32:25 PDT
Follow-up to bug 47783 to provide the same functionality in WebKit2 that we had in WebKit1. Specifically, we need to add:


WK_EXPORT WKStringRef WKUserContentURLPatternCopyHost(WKUserContentURLPatternRef urlPatternRef);
WK_EXPORT WKStringRef WKUserContentURLPatternCopyScheme(WKUserContentURLPatternRef urlPatternRef);
WK_EXPORT bool WKUserContentURLPatternIsValid(WKUserContentURLPatternRef urlPatternRef);
\WK_EXPORT bool WKUserContentURLPatternMatchesSubdomains(WKUserContentURLPatternRef urlPatternRef);
Comment 1 Radar WebKit Bug Importer 2011-10-31 15:33:06 PDT
<rdar://problem/10373269>
Comment 2 Jeff Miller 2011-10-31 15:38:02 PDT
Created attachment 113094 [details]
Patch
Comment 3 Darin Adler 2011-10-31 15:53:00 PDT
Comment on attachment 113094 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=113094&action=review

> Source/WebKit2/Shared/API/c/WKUserContentURLPattern.h:41
>  WK_EXPORT WKUserContentURLPatternRef WKUserContentURLPatternCreate(WKStringRef patternRef);
>  
> +
> +WK_EXPORT WKStringRef WKUserContentURLPatternCopyHost(WKUserContentURLPatternRef urlPatternRef);

Extra blank line here.
Comment 4 Jeff Miller 2011-10-31 15:55:09 PDT
Committed r98894: <http://trac.webkit.org/changeset/98894>