Bug 142062

Summary: [Content Filtering] Move WebFilterEvaluator and NEFilterSource declarations to SPI headers
Product: WebKit Reporter: Andy Estes <aestes>
Component: New BugsAssignee: Andy Estes <aestes>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dbates, ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 128858    
Attachments:
Description Flags
Patch dbates: review+

Andy Estes
Reported 2015-02-26 15:46:48 PST
[Content Filtering] Move WebFilterEvaluator and NEFilterSource declarations to SPI headers
Attachments
Patch (15.36 KB, patch)
2015-02-26 15:50 PST, Andy Estes
dbates: review+
Andy Estes
Comment 1 2015-02-26 15:50:24 PST
WebKit Commit Bot
Comment 2 2015-02-26 15:53:47 PST
Attachment 247456 [details] did not pass style-queue: ERROR: Source/WebCore/platform/spi/cocoa/WebFilterEvaluatorSPI.h:36: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Daniel Bates
Comment 3 2015-02-26 16:00:30 PST
Comment on attachment 247456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247456&action=review > Source/WebCore/WebCore.xcodeproj/project.pbxproj:24163 > + A19D93411A9FE03300B46C24 /* WebFilterEvaluatorSPI.h in Headers */, Please add this entry such that it is in this list of files in sorted order according to the UNIX sort command. > Source/WebCore/WebCore.xcodeproj/project.pbxproj:25479 > + A19D93431A9FE26200B46C24 /* NEFilterSourceSPI.h in Headers */, Ditto. > Source/WebCore/platform/spi/cocoa/NEFilterSourceSPI.h:27 > +#ifndef NEFilterSourceSPI_h > +#define NEFilterSourceSPI_h From my understanding we assume that an Objective-C header will be included using the #import directive. So, these header-guard macros are not necessary. > Source/WebCore/platform/spi/cocoa/WebFilterEvaluatorSPI.h:27 > +#ifndef WebFilterEvaluatorSPI_h > +#define WebFilterEvaluatorSPI_h Ditto.
Andy Estes
Comment 4 2015-02-26 16:09:26 PST
Note You need to log in before you can comment on or make changes to this bug.