[iOS] NSFileManager and QuickLook SPI not available in public SDK
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Nov 2014 23:31:48 +0000 (23:31 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Nov 2014 23:31:48 +0000 (23:31 +0000)
commit13c772d31222c9b51fbf4085c3c26f0a4d5a5112
tree54768745a6ecfa0e9f19f206d38b9873851704e7
parent0dd75121194d10cd05a8c085907c827d2bc84719
[iOS] NSFileManager and QuickLook SPI not available in public SDK
https://bugs.webkit.org/show_bug.cgi?id=138742

Reviewed by Pratik Solanki.

Source/WebCore:

Add a SPI wrapper headers {NSFileManager, QuickLook}SPI.h that forward declares
NSFileManager and QuickLook SPI, respectively, and use these header instead of
including private headers of Foundation and QuickLook directly.

* WebCore.xcodeproj/project.pbxproj: Add project and private header QuickLookSPI.h
and NSFileManagerSPI.h, respectively.
* platform/network/ios/QuickLook.mm: Include headers QuickLookSPI.h and NSFileManagerSPI.h
instead of including headers of QuickLook and Foundation directly.
* platform/spi/cocoa/NSFileManagerSPI.h: Added.
* platform/spi/ios/QuickLookSPI.h: Added.

Source/WebKit/mac:

Include header NSFileManagerSPI.h instead of the private header NSFileManager_NSURLExtras.h.

* WebCoreSupport/WebFrameLoaderClient.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@176142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/platform/network/ios/QuickLook.mm
Source/WebCore/platform/spi/cocoa/NSFileManagerSPI.h [new file with mode: 0644]
Source/WebCore/platform/spi/ios/QuickLookSPI.h [new file with mode: 0644]
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm