<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[176347] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/176347">176347</a></dd>
<dt>Author</dt> <dd>dbates@webkit.org</dd>
<dt>Date</dt> <dd>2014-11-19 14:32:04 -0800 (Wed, 19 Nov 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>[iOS] Make WebKit build with public iOS SDK
https://bugs.webkit.org/show_bug.cgi?id=136863

Reviewed by David Kilzer.

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj: Add private headers CFNetworkSPI.h and
NS{CalendarDate, String, URLDownload}SPI.h.
* loader/cocoa/DiskCacheMonitorCocoa.mm: Move forward declaration of
CFNetwork data types and functions from here to file CFNetworkSPI.h and
include header CFNetworkSPI.h.
* platform/network/mac/ResourceHandleMac.mm: Substitute CFNetworkSPI.h for
CFURLRequestSPI.h as the content of the latter was incorporated into the former.
* platform/spi/cf/CFNetworkSPI.h: Added.
* platform/spi/cf/CFURLRequestSPI.h: Removed; incorporated its functionality
into CFNetworkSPI.h
* platform/spi/cocoa/NSCalendarDateSPI.h: Added.
* platform/spi/cocoa/NSStringSPI.h: Added.
* platform/spi/cocoa/NSURLDownloadSPI.h: Added.

Source/WebKit/ios:

* Misc/WebGeolocationCoreLocationProvider.mm:  Remove unnecessary include of header &lt;CoreLocation/CoreLocationPriv.h&gt;.
* Misc/WebNSStringExtrasIOS.m: Substitute header &lt;WebCore/NSStringSPI.h&gt; for &lt;Foundation/NSString_NSURLExtras.h&gt;.
* Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.

Source/WebKit/mac:

* History/WebHistory.mm: Include header NSCalendarDateSPI.h.
* History/WebHistoryItemPrivate.h: Remove include of private header Foundation/NSCalendarDate.h.
* Misc/WebDownload.h: Forward declare NSURLDownload when building without header Foundation/NSURLDownload.h.
We use __has_include() instead of WTF_USE_APPLE_INTERNAL_SDK since this header
may be used by Apple internal clients that do not include wtf/Platform.h.
* Misc/WebDownload.mm: Include header NSURLDownloadSPI.h instead of including
private Foundation headers directly.
* Misc/WebNSURLExtras.mm: Remove unnecessary include of private Foundation header.
* WebCoreSupport/WebFrameNetworkingContext.mm: Include header CFNetworkSPI.h
instead of including private CFNetwork headers directly. Also fixed up style and
ordering of header include directives.
* WebView/WebView.mm: Include header CFNetworkSPI.h instead of including private
CFNetwork headers directly. Also sort the #import directives.
* WebView/WebViewPrivate.h: Define ENABLE_TOUCH_EVENTS if not otherwise defined
and added ENABLE_TOUCH_EVENTS-guard around -_touchEventRegions.

Source/WebKit2:

* NetworkProcess/cocoa/NetworkProcessCocoa.mm: Moved CFNetwork forward declarations
from this file to file CFNetworkSPI.h and included header CFNetworkSPI.h.
* NetworkProcess/mac/NetworkDiskCacheMonitor.mm: Ditto.
* NetworkProcess/mac/NetworkResourceLoaderMac.mm: Ditto.
* UIProcess/API/Cocoa/WKProcessPool.mm: Ditto.
* UIProcess/mac/WebContextMac.mm: Ditto.
* WebProcess/cocoa/WebProcessCocoa.mm: Ditto.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoreloadercocoaDiskCacheMonitorCocoamm">trunk/Source/WebCore/loader/cocoa/DiskCacheMonitorCocoa.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformnetworkmacResourceHandleMacmm">trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm</a></li>
<li><a href="#trunkSourceWebKitiosChangeLog">trunk/Source/WebKit/ios/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitiosMiscWebGeolocationCoreLocationProvidermm">trunk/Source/WebKit/ios/Misc/WebGeolocationCoreLocationProvider.mm</a></li>
<li><a href="#trunkSourceWebKitiosMiscWebNSStringExtrasIOSm">trunk/Source/WebKit/ios/Misc/WebNSStringExtrasIOS.m</a></li>
<li><a href="#trunkSourceWebKitiosMiscWebUIKitSupportmm">trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacHistoryWebHistorymm">trunk/Source/WebKit/mac/History/WebHistory.mm</a></li>
<li><a href="#trunkSourceWebKitmacHistoryWebHistoryItemPrivateh">trunk/Source/WebKit/mac/History/WebHistoryItemPrivate.h</a></li>
<li><a href="#trunkSourceWebKitmacMiscWebDownloadh">trunk/Source/WebKit/mac/Misc/WebDownload.h</a></li>
<li><a href="#trunkSourceWebKitmacMiscWebDownloadmm">trunk/Source/WebKit/mac/Misc/WebDownload.mm</a></li>
<li><a href="#trunkSourceWebKitmacMiscWebNSURLExtrasmm">trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebFrameNetworkingContextmm">trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewPrivateh">trunk/Source/WebKit/mac/WebView/WebViewPrivate.h</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcesscocoaNetworkProcessCocoamm">trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkProcessCocoa.mm</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessmacNetworkDiskCacheMonitormm">trunk/Source/WebKit2/NetworkProcess/mac/NetworkDiskCacheMonitor.mm</a></li>
<li><a href="#trunkSourceWebKit2NetworkProcessmacNetworkResourceLoaderMacmm">trunk/Source/WebKit2/NetworkProcess/mac/NetworkResourceLoaderMac.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessAPICocoaWKProcessPoolmm">trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm</a></li>
<li><a href="#trunkSourceWebKit2UIProcessmacWebContextMacmm">trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcesscocoaWebProcessCocoamm">trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreplatformspicfCFNetworkSPIh">trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspicocoaNSCalendarDateSPIh">trunk/Source/WebCore/platform/spi/cocoa/NSCalendarDateSPI.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspicocoaNSStringSPIh">trunk/Source/WebCore/platform/spi/cocoa/NSStringSPI.h</a></li>
<li><a href="#trunkSourceWebCoreplatformspicocoaNSURLDownloadSPIh">trunk/Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreplatformspicfCFURLRequestSPIh">trunk/Source/WebCore/platform/spi/cf/CFURLRequestSPI.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebCore/ChangeLog        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -1,3 +1,24 @@
</span><ins>+2014-11-19  Daniel Bates  &lt;dabates@apple.com&gt;
+
+        [iOS] Make WebKit build with public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=136863
+
+        Reviewed by David Kilzer.
+
+        * WebCore.xcodeproj/project.pbxproj: Add private headers CFNetworkSPI.h and
+        NS{CalendarDate, String, URLDownload}SPI.h.
+        * loader/cocoa/DiskCacheMonitorCocoa.mm: Move forward declaration of
+        CFNetwork data types and functions from here to file CFNetworkSPI.h and
+        include header CFNetworkSPI.h.
+        * platform/network/mac/ResourceHandleMac.mm: Substitute CFNetworkSPI.h for
+        CFURLRequestSPI.h as the content of the latter was incorporated into the former.
+        * platform/spi/cf/CFNetworkSPI.h: Added.
+        * platform/spi/cf/CFURLRequestSPI.h: Removed; incorporated its functionality
+        into CFNetworkSPI.h
+        * platform/spi/cocoa/NSCalendarDateSPI.h: Added.
+        * platform/spi/cocoa/NSStringSPI.h: Added.
+        * platform/spi/cocoa/NSURLDownloadSPI.h: Added.
+
</ins><span class="cx"> 2014-11-19  Benjamin Poulain  &lt;bpoulain@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Get rid of AccessibilityObject::setRoleValue()
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -5762,12 +5762,15 @@
</span><span class="cx">                 CE12524B1A16C79B00864480 /* DispatchSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12524A1A16C79B00864480 /* DispatchSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CE12524D1A1A77DE00864480 /* IOPMLibSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12524C1A1A77DE00864480 /* IOPMLibSPI.h */; };
</span><span class="cx">                 CE12524F1A1A78D200864480 /* MachVMSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12524E1A1A78D200864480 /* MachVMSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><ins>+                CE1252511A1BEBD800864480 /* NSCalendarDateSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252501A1BEBD800864480 /* NSCalendarDateSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                CE1252531A1BEC0600864480 /* NSStringSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252521A1BEC0600864480 /* NSStringSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                CE1252551A1BEC0E00864480 /* NSURLDownloadSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE1252541A1BEC0E00864480 /* NSURLDownloadSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                CE12525B1A1C018200864480 /* CFNetworkSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE12525A1A1C018200864480 /* CFNetworkSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</ins><span class="cx">                 CE7B2DB31586ABAD0098B3FA /* AlternativeTextUIController.h in Headers */ = {isa = PBXBuildFile; fileRef = CE7B2DAF1586ABAD0098B3FA /* AlternativeTextUIController.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CE7B2DB41586ABAD0098B3FA /* AlternativeTextUIController.mm in Sources */ = {isa = PBXBuildFile; fileRef = CE7B2DB01586ABAD0098B3FA /* AlternativeTextUIController.mm */; };
</span><span class="cx">                 CE7B2DB51586ABAD0098B3FA /* TextAlternativeWithRange.h in Headers */ = {isa = PBXBuildFile; fileRef = CE7B2DB11586ABAD0098B3FA /* TextAlternativeWithRange.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CE7B2DB61586ABAD0098B3FA /* TextAlternativeWithRange.mm in Sources */ = {isa = PBXBuildFile; fileRef = CE7B2DB21586ABAD0098B3FA /* TextAlternativeWithRange.mm */; };
</span><span class="cx">                 CE8245F019B671BA00AC0122 /* CFNetworkConnectionCacheSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE8245EF19B671BA00AC0122 /* CFNetworkConnectionCacheSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                CE8245F219B671D500AC0122 /* CFURLRequestSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = CE8245F119B671D500AC0122 /* CFURLRequestSPI.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><span class="cx">                 CE95208A1811B475007A5392 /* WebSafeIncrementalSweeperIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = C2C4CB1D161A131200D214DA /* WebSafeIncrementalSweeperIOS.h */; };
</span><span class="cx">                 CECADFC6153778FF00E37068 /* DictationAlternative.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CECADFC2153778FF00E37068 /* DictationAlternative.cpp */; };
</span><span class="cx">                 CECADFC7153778FF00E37068 /* DictationAlternative.h in Headers */ = {isa = PBXBuildFile; fileRef = CECADFC3153778FF00E37068 /* DictationAlternative.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -13259,6 +13262,10 @@
</span><span class="cx">                 CE12524A1A16C79B00864480 /* DispatchSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DispatchSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CE12524C1A1A77DE00864480 /* IOPMLibSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IOPMLibSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CE12524E1A1A78D200864480 /* MachVMSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MachVMSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                CE1252501A1BEBD800864480 /* NSCalendarDateSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSCalendarDateSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                CE1252521A1BEC0600864480 /* NSStringSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSStringSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                CE1252541A1BEC0E00864480 /* NSURLDownloadSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSURLDownloadSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                CE12525A1A1C018200864480 /* CFNetworkSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFNetworkSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 CE5CB1B314EDAB6F00BB2795 /* EventSender.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventSender.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CE6D89294C7AACE0AD89B3DD /* MathMLMencloseElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLMencloseElement.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CE7B2DAF1586ABAD0098B3FA /* AlternativeTextUIController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AlternativeTextUIController.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -13266,7 +13273,6 @@
</span><span class="cx">                 CE7B2DB11586ABAD0098B3FA /* TextAlternativeWithRange.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TextAlternativeWithRange.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CE7B2DB21586ABAD0098B3FA /* TextAlternativeWithRange.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = TextAlternativeWithRange.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CE8245EF19B671BA00AC0122 /* CFNetworkConnectionCacheSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFNetworkConnectionCacheSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                CE8245F119B671D500AC0122 /* CFURLRequestSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CFURLRequestSPI.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 CECADFC2153778FF00E37068 /* DictationAlternative.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DictationAlternative.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CECADFC3153778FF00E37068 /* DictationAlternative.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DictationAlternative.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 CECADFC4153778FF00E37068 /* DictationCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DictationCommand.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -16203,7 +16209,7 @@
</span><span class="cx">                         children = (
</span><span class="cx">                                 65086DA719AC1719009AF46B /* CFLocaleSPI.h */,
</span><span class="cx">                                 CE8245EF19B671BA00AC0122 /* CFNetworkConnectionCacheSPI.h */,
</span><del>-                                CE8245F119B671D500AC0122 /* CFURLRequestSPI.h */,
</del><ins>+                                CE12525A1A1C018200864480 /* CFNetworkSPI.h */,
</ins><span class="cx">                         );
</span><span class="cx">                         path = cf;
</span><span class="cx">                         sourceTree = &quot;&lt;group&gt;&quot;;
</span><span class="lines">@@ -16228,9 +16234,12 @@
</span><span class="cx">                                 CE1252441A16C22500864480 /* DynamicLinkerSPI.h */,
</span><span class="cx">                                 CE12524C1A1A77DE00864480 /* IOPMLibSPI.h */,
</span><span class="cx">                                 CE12524E1A1A78D200864480 /* MachVMSPI.h */,
</span><ins>+                                CE1252501A1BEBD800864480 /* NSCalendarDateSPI.h */,
</ins><span class="cx">                                 2DDB97F319F9AECA002025D8 /* NSExtensionSPI.h */,
</span><span class="cx">                                 CE12523A1A16711000864480 /* NSFileManagerSPI.h */,
</span><span class="cx">                                 CE1252461A16C2C200864480 /* NSPointerFunctionsSPI.h */,
</span><ins>+                                CE1252521A1BEC0600864480 /* NSStringSPI.h */,
+                                CE1252541A1BEC0E00864480 /* NSURLDownloadSPI.h */,
</ins><span class="cx">                                 653EF83819A043AE0052202C /* NSURLFileTypeMappingsSPI.h */,
</span><span class="cx">                                 CE12523C1A1676CD00864480 /* QuartzCoreSPI.h */,
</span><span class="cx">                         );
</span><span class="lines">@@ -23567,8 +23576,8 @@
</span><span class="cx">                                 CDDD571518B57A8200A94FCB /* CDMSession.h in Headers */,
</span><span class="cx">                                 5FA904CA178E61F5004C8A2D /* CertificateInfo.h in Headers */,
</span><span class="cx">                                 CE8245F019B671BA00AC0122 /* CFNetworkConnectionCacheSPI.h in Headers */,
</span><ins>+                                CE12525B1A1C018200864480 /* CFNetworkSPI.h in Headers */,
</ins><span class="cx">                                 E1A8E56717552B2A007488E7 /* CFURLExtras.h in Headers */,
</span><del>-                                CE8245F219B671D500AC0122 /* CFURLRequestSPI.h in Headers */,
</del><span class="cx">                                 FE36FD1516C7826500F887C1 /* ChangeVersionData.h in Headers */,
</span><span class="cx">                                 97BC69DD1505F076001B74AC /* ChangeVersionWrapper.h in Headers */,
</span><span class="cx">                                 FD315FFF12B0267600C1A359 /* ChannelMergerNode.h in Headers */,
</span><span class="lines">@@ -25508,6 +25517,7 @@
</span><span class="cx">                                 1A569D100D7E2B82007C3983 /* npruntime_internal.h in Headers */,
</span><span class="cx">                                 1A569D110D7E2B82007C3983 /* npruntime_priv.h in Headers */,
</span><span class="cx">                                 1A927FD41416A15B003A83C8 /* nptypes.h in Headers */,
</span><ins>+                                CE1252511A1BEBD800864480 /* NSCalendarDateSPI.h in Headers */,
</ins><span class="cx">                                 2DDB97F419F9AECA002025D8 /* NSExtensionSPI.h in Headers */,
</span><span class="cx">                                 CE12523B1A16711000864480 /* NSFileManagerSPI.h in Headers */,
</span><span class="cx">                                 1C6466281A12C4200094603C /* NSFontSPI.h in Headers */,
</span><span class="lines">@@ -25515,6 +25525,8 @@
</span><span class="cx">                                 93500F3213FDE3BE0099EC24 /* NSScrollerImpDetails.h in Headers */,
</span><span class="cx">                                 2DCB837919F99BBA00A7FBE4 /* NSSharingServicePickerSPI.h in Headers */,
</span><span class="cx">                                 2DCB837A19F99BBA00A7FBE4 /* NSSharingServiceSPI.h in Headers */,
</span><ins>+                                CE1252531A1BEC0600864480 /* NSStringSPI.h in Headers */,
+                                CE1252551A1BEC0E00864480 /* NSURLDownloadSPI.h in Headers */,
</ins><span class="cx">                                 658F540319A1C9240088FC92 /* NSURLFileTypeMappingsSPI.h in Headers */,
</span><span class="cx">                                 9348428219F1A9190009D5AE /* NSViewSPI.h in Headers */,
</span><span class="cx">                                 F55B3DC81251F12D003EF269 /* NumberInputType.h in Headers */,
</span></span></pre></div>
<a id="trunkSourceWebCoreloadercocoaDiskCacheMonitorCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/cocoa/DiskCacheMonitorCocoa.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/cocoa/DiskCacheMonitorCocoa.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebCore/loader/cocoa/DiskCacheMonitorCocoa.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -26,6 +26,7 @@
</span><span class="cx"> #import &quot;config.h&quot;
</span><span class="cx"> #import &quot;DiskCacheMonitorCocoa.h&quot;
</span><span class="cx"> 
</span><ins>+#import &quot;CFNetworkSPI.h&quot;
</ins><span class="cx"> #import &quot;CachedResource.h&quot;
</span><span class="cx"> #import &quot;MemoryCache.h&quot;
</span><span class="cx"> #import &quot;ResourceRequest.h&quot;
</span><span class="lines">@@ -36,22 +37,12 @@
</span><span class="cx"> #import &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #import &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><del>-#ifdef __has_include
-#if __has_include(&lt;CFNetwork/CFURLCachePriv.h&gt;)
-#include &lt;CFNetwork/CFURLCachePriv.h&gt;
-#endif
-#endif
-
</del><span class="cx"> #if USE(WEB_THREAD)
</span><span class="cx"> #include &quot;WebCoreThreadRun.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if (PLATFORM(IOS) &amp;&amp; __IPHONE_OS_VERSION_MIN_REQUIRED &gt;= 80000) || (PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090)
</span><span class="cx"> 
</span><del>-typedef void (^CFCachedURLResponseCallBackBlock)(CFCachedURLResponseRef);
-extern &quot;C&quot; void _CFCachedURLResponseSetBecameFileBackedCallBackBlock(CFCachedURLResponseRef, CFCachedURLResponseCallBackBlock, dispatch_queue_t);
-extern &quot;C&quot; CFDataRef _CFCachedURLResponseGetMemMappedData(CFCachedURLResponseRef);
-
</del><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> // The maximum number of seconds we'll try to wait for a resource to be disk cached before we forget the request.
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformnetworkmacResourceHandleMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-#import &quot;CFURLRequestSPI.h&quot;
</del><ins>+#import &quot;CFNetworkSPI.h&quot;
</ins><span class="cx"> #import &quot;RuntimeApplicationChecksIOS.h&quot;
</span><span class="cx"> #import &quot;WebCoreThreadRun.h&quot;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformspicfCFNetworkSPIh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h (0 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h                                (rev 0)
+++ trunk/Source/WebCore/platform/spi/cf/CFNetworkSPI.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -0,0 +1,104 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef CFNetworkSPI_h
+#define CFNetworkSPI_h
+
+#include &lt;CFNetwork/CFNetwork.h&gt;
+
+#if PLATFORM(WIN) || USE(APPLE_INTERNAL_SDK)
+
+#include &lt;CFNetwork/CFHTTPCookies.h&gt;
+#include &lt;CFNetwork/CFURLCachePriv.h&gt;
+#include &lt;CFNetwork/CFURLProtocolPriv.h&gt;
+#include &lt;CFNetwork/CFURLRequest.h&gt;
+
+#ifdef __OBJC__
+// FIXME: As a workaround for &lt;rdar://problem/18337182&gt;, we conditionally enclose the header
+// in an extern &quot;C&quot; linkage block to make it suitable for C++ use.
+#ifdef __cplusplus
+extern &quot;C&quot; {
+#endif
+
+#import &lt;CFNetwork/CFNSURLConnection.h&gt;
+
+#ifdef __cplusplus
+}
+#endif
+#endif // __OBJC__
+
+#else
+
+typedef struct OpaqueCFHTTPCookieStorage* CFHTTPCookieStorageRef;
+typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef;
+typedef const struct _CFURLCache* CFURLCacheRef;
+typedef const struct _CFURLRequest *CFURLRequestRef;
+
+#ifdef __BLOCKS__
+typedef void (^CFCachedURLResponseCallBackBlock)(CFCachedURLResponseRef);
+#endif
+
+#ifdef __OBJC__
+enum : NSUInteger {
+    NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain = 3,
+};
+#endif
+
+#endif // PLATFORM(WIN) || USE(APPLE_INTERNAL_SDK)
+
+EXTERN_C void CFURLRequestSetShouldStartSynchronously(CFURLRequestRef, Boolean);
+
+EXTERN_C CFURLCacheRef CFURLCacheCopySharedURLCache();
+EXTERN_C void CFURLCacheSetMemoryCapacity(CFURLCacheRef, CFIndex memoryCapacity);
+EXTERN_C void _CFURLCachePurgeMemoryCache(CFURLCacheRef);
+#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090
+EXTERN_C CFBooleanRef _CFURLCacheIsResponseDataMemMapped(CFURLCacheRef, CFDataRef);
+EXTERN_C void _CFURLCacheSetMinSizeForVMCachedResource(CFURLCacheRef, CFIndex);
+
+EXTERN_C Boolean _CFNetworkIsKnownHSTSHostWithSession(CFURLRef, CFURLStorageSessionRef);
+EXTERN_C void _CFNetworkResetHSTSHostsWithSession(CFURLStorageSessionRef);
+#endif
+
+EXTERN_C void CFHTTPCookieStorageDeleteAllCookies(CFHTTPCookieStorageRef);
+
+#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090
+EXTERN_C CFDataRef _CFCachedURLResponseGetMemMappedData(CFCachedURLResponseRef);
+#ifdef __BLOCKS__
+EXTERN_C void _CFCachedURLResponseSetBecameFileBackedCallBackBlock(CFCachedURLResponseRef, CFCachedURLResponseCallBackBlock, dispatch_queue_t);
+#endif
+#endif // PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090
+
+EXTERN_C void CFURLConnectionInvalidateConnectionCache();
+
+// FIXME: We should only forward declare this SPI when building for iOS without the Apple Internal SDK.
+// As a workaround for &lt;rdar://problem/19025016&gt;, we must forward declare this SPI regardless of whether
+// we are building with the Apple Internal SDK.
+#if PLATFORM(IOS) &amp;&amp; defined(__OBJC__)
+@interface NSURLCache (Details)
+-(id)_initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity relativePath:(NSString *)path;
+@end
+#endif
+
+#endif // CFNetworkSPI_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformspicfCFURLRequestSPIh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/platform/spi/cf/CFURLRequestSPI.h (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cf/CFURLRequestSPI.h        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebCore/platform/spi/cf/CFURLRequestSPI.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 Apple Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#ifndef CFURLRequestSPI_h
-#define CFURLRequestSPI_h
-
-#if USE(APPLE_INTERNAL_SDK)
-#include &lt;CFNetwork/CFURLRequest.h&gt;
-#else
-#include &lt;CoreFoundation/CFBase.h&gt;
-typedef const struct _CFURLRequest *CFURLRequestRef;
-#endif
-
-extern &quot;C&quot; void CFURLRequestSetShouldStartSynchronously(CFURLRequestRef, Boolean);
-
-#endif
</del></span></pre></div>
<a id="trunkSourceWebCoreplatformspicocoaNSCalendarDateSPIh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/platform/spi/cocoa/NSCalendarDateSPI.h (0 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cocoa/NSCalendarDateSPI.h                                (rev 0)
+++ trunk/Source/WebCore/platform/spi/cocoa/NSCalendarDateSPI.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &lt;Foundation/NSDate.h&gt;
+
+#if PLATFORM(MAC) || USE(APPLE_INTERNAL_SDK)
+
+#import &lt;Foundation/NSCalendarDate.h&gt;
+
+#else
+
+@interface NSCalendarDate : NSDate
+@end
+
+@interface NSCalendarDate (Details)
++ (id)calendarDate;
+- (NSCalendarDate *)dateByAddingYears:(NSInteger)year months:(NSInteger)month days:(NSInteger)day hours:(NSInteger)hour minutes:(NSInteger)minute seconds:(NSInteger)second;
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformspicocoaNSStringSPIh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/platform/spi/cocoa/NSStringSPI.h (0 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cocoa/NSStringSPI.h                                (rev 0)
+++ trunk/Source/WebCore/platform/spi/cocoa/NSStringSPI.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &lt;Foundation/NSString.h&gt;
+
+#if USE(APPLE_INTERNAL_SDK)
+
+#import &lt;Foundation/NSString_NSURLExtras.h&gt;
+
+#else
+
+@interface NSString (Details)
+- (BOOL)_web_hasCaseInsensitivePrefix:(NSString *)suffix;
+- (NSString *)_web_stringByExpandingTildeInPath;
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreplatformspicocoaNSURLDownloadSPIh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h (0 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h                                (rev 0)
+++ trunk/Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#import &lt;Foundation/NSObject.h&gt;
+
+#if PLATFORM(MAC) || USE(APPLE_INTERNAL_SDK)
+
+#import &lt;Foundation/NSURLDownload.h&gt;
+
+#else
+
+@class NSString;
+@class NSURLAuthenticationChallenge;
+@class NSURLDownload;
+@class NSURLProtectionSpace;
+@class NSURLRequest;
+@class NSURLResponse;
+
+@protocol NSURLDownloadDelegate &lt;NSObject&gt;
+@optional
+- (void)downloadDidBegin:(NSURLDownload *)download;
+- (NSURLRequest *)download:(NSURLDownload *)download willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse;
+- (BOOL)download:(NSURLDownload *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace;
+- (void)download:(NSURLDownload *)download didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;
+- (void)download:(NSURLDownload *)download didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge;
+- (BOOL)downloadShouldUseCredentialStorage:(NSURLDownload *)download;
+- (void)download:(NSURLDownload *)download didReceiveResponse:(NSURLResponse *)response;
+- (void)download:(NSURLDownload *)download willResumeWithResponse:(NSURLResponse *)response fromByte:(long long)startingByte;
+- (void)download:(NSURLDownload *)download didReceiveDataOfLength:(NSUInteger)length;
+- (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType;
+- (void)download:(NSURLDownload *)download decideDestinationWithSuggestedFilename:(NSString *)filename;
+- (void)download:(NSURLDownload *)download didCreateDestination:(NSString *)path;
+- (void)downloadDidFinish:(NSURLDownload *)download;
+- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error;
+@end
+
+@interface NSURLDownload (Details)
+- (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id &lt;NSURLDownloadDelegate&gt;)delegate;
+@end
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebKitiosChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/ChangeLog (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/ChangeLog        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/ios/ChangeLog        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2014-11-19  Daniel Bates  &lt;dabates@apple.com&gt;
+
+        [iOS] Make WebKit build with public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=136863
+
+        Reviewed by David Kilzer.
+
+        * Misc/WebGeolocationCoreLocationProvider.mm:  Remove unnecessary include of header &lt;CoreLocation/CoreLocationPriv.h&gt;.
+        * Misc/WebNSStringExtrasIOS.m: Substitute header &lt;WebCore/NSStringSPI.h&gt; for &lt;Foundation/NSString_NSURLExtras.h&gt;.
+        * Misc/WebUIKitSupport.mm: Remove unnecessary include of header CoreFoundation/CFPriv.h.
+
</ins><span class="cx"> 2014-11-14  Daniel Bates  &lt;dabates@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [iOS] CoreGraphics SPI not available in public SDK
</span></span></pre></div>
<a id="trunkSourceWebKitiosMiscWebGeolocationCoreLocationProvidermm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/Misc/WebGeolocationCoreLocationProvider.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/Misc/WebGeolocationCoreLocationProvider.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/ios/Misc/WebGeolocationCoreLocationProvider.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #import &lt;CoreLocation/CLLocation.h&gt;
</span><span class="cx"> #import &lt;CoreLocation/CLLocationManagerDelegate.h&gt;
</span><span class="cx"> #import &lt;CoreLocation/CoreLocation.h&gt;
</span><del>-#import &lt;CoreLocation/CoreLocationPriv.h&gt;
</del><span class="cx"> #import &lt;WebCore/GeolocationPosition.h&gt;
</span><span class="cx"> #import &lt;WebCore/SoftLinking.h&gt;
</span><span class="cx"> #import &lt;WebKitLogging.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitiosMiscWebNSStringExtrasIOSm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/Misc/WebNSStringExtrasIOS.m (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/Misc/WebNSStringExtrasIOS.m        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/ios/Misc/WebNSStringExtrasIOS.m        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -25,9 +25,9 @@
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> 
</span><del>-#import &lt;Foundation/NSString_NSURLExtras.h&gt;
</del><span class="cx"> #import &quot;WebNSStringExtrasIOS.h&quot;
</span><span class="cx"> #import &quot;WebNSURLExtras.h&quot;
</span><ins>+#import &lt;WebCore/NSStringSPI.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> @implementation NSString (WebNSStringExtrasIOS)
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitiosMiscWebUIKitSupportmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/ios/Misc/WebUIKitSupport.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;WebUIKitSupport.h&quot;
</span><span class="cx"> 
</span><del>-#import &lt;CoreFoundation/CFPriv.h&gt;
</del><span class="cx"> #import &lt;WebCore/break_lines.h&gt;
</span><span class="cx"> #import &lt;WebCore/ResourceRequest.h&gt;
</span><span class="cx"> #import &lt;WebCore/TextBreakIterator.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/ChangeLog        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -1,3 +1,26 @@
</span><ins>+2014-11-19  Daniel Bates  &lt;dabates@apple.com&gt;
+
+        [iOS] Make WebKit build with public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=136863
+
+        Reviewed by David Kilzer.
+
+        * History/WebHistory.mm: Include header NSCalendarDateSPI.h.
+        * History/WebHistoryItemPrivate.h: Remove include of private header Foundation/NSCalendarDate.h.
+        * Misc/WebDownload.h: Forward declare NSURLDownload when building without header Foundation/NSURLDownload.h.
+        We use __has_include() instead of WTF_USE_APPLE_INTERNAL_SDK since this header
+        may be used by Apple internal clients that do not include wtf/Platform.h.
+        * Misc/WebDownload.mm: Include header NSURLDownloadSPI.h instead of including
+        private Foundation headers directly.
+        * Misc/WebNSURLExtras.mm: Remove unnecessary include of private Foundation header.
+        * WebCoreSupport/WebFrameNetworkingContext.mm: Include header CFNetworkSPI.h
+        instead of including private CFNetwork headers directly. Also fixed up style and
+        ordering of header include directives.
+        * WebView/WebView.mm: Include header CFNetworkSPI.h instead of including private
+        CFNetwork headers directly. Also sort the #import directives.
+        * WebView/WebViewPrivate.h: Define ENABLE_TOUCH_EVENTS if not otherwise defined
+        and added ENABLE_TOUCH_EVENTS-guard around -_touchEventRegions.
+
</ins><span class="cx"> 2014-11-18  David Kilzer  &lt;ddkilzer@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         FeatureDefines.xcconfig: Switch from using PLATFORM_NAME to SDK selectors
</span></span></pre></div>
<a id="trunkSourceWebKitmacHistoryWebHistorymm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/History/WebHistory.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/History/WebHistory.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/History/WebHistory.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> #import &quot;WebNSURLExtras.h&quot;
</span><span class="cx"> #import &quot;WebTypesInternal.h&quot;
</span><span class="cx"> #import &lt;WebCore/HistoryItem.h&gt;
</span><ins>+#import &lt;WebCore/NSCalendarDateSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/PageGroup.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span></span></pre></div>
<a id="trunkSourceWebKitmacHistoryWebHistoryItemPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/History/WebHistoryItemPrivate.h (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/History/WebHistoryItemPrivate.h        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/History/WebHistoryItemPrivate.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -29,8 +29,6 @@
</span><span class="cx"> #import &lt;WebKitLegacy/WebHistoryItem.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if TARGET_OS_IPHONE
</span><del>-#import &lt;Foundation/NSCalendarDate.h&gt;
-
</del><span class="cx"> extern NSString *WebViewportInitialScaleKey;
</span><span class="cx"> extern NSString *WebViewportMinimumScaleKey;
</span><span class="cx"> extern NSString *WebViewportMaximumScaleKey;
</span></span></pre></div>
<a id="trunkSourceWebKitmacMiscWebDownloadh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Misc/WebDownload.h (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Misc/WebDownload.h        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/Misc/WebDownload.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -26,7 +26,15 @@
</span><span class="cx">  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><ins>+// We explicitly use __has_include() instead of the macro define WTF_USE_APPLE_INTERNAL_SDK as
+// the condition for including the header Foundation/NSURLDownload.h to support internal Apple
+// clients that build without header wtf/Platform.h. See &lt;rdar://problem/19034131&gt;.
+#if __has_include(&lt;Foundation/NSURLDownload.h&gt;)
</ins><span class="cx"> #import &lt;Foundation/NSURLDownload.h&gt;
</span><ins>+#else
+@interface NSURLDownload : NSObject
+@end
+#endif
</ins><span class="cx"> 
</span><span class="cx"> #if TARGET_OS_IPHONE
</span><span class="cx"> #import &lt;WebKitLegacy/WAKAppKitStubs.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitmacMiscWebDownloadmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Misc/WebDownload.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Misc/WebDownload.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/Misc/WebDownload.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -29,11 +29,11 @@
</span><span class="cx"> #import &lt;WebKitLegacy/WebDownload.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #import &lt;Foundation/NSURLAuthenticationChallenge.h&gt;
</span><del>-#import &lt;Foundation/NSURLDownload.h&gt;
</del><span class="cx"> #import &lt;WebCore/AuthenticationCF.h&gt;
</span><span class="cx"> #import &lt;WebCore/AuthenticationMac.h&gt;
</span><span class="cx"> #import &lt;WebCore/Credential.h&gt;
</span><span class="cx"> #import &lt;WebCore/CredentialStorage.h&gt;
</span><ins>+#import &lt;WebCore/NSURLDownloadSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/ProtectionSpace.h&gt;
</span><span class="cx"> #import &lt;WebKitLegacy/WebPanelAuthenticationHandler.h&gt;
</span><span class="cx"> #import &lt;wtf/Assertions.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitmacMiscWebNSURLExtrasmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/Misc/WebNSURLExtras.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -43,10 +43,6 @@
</span><span class="cx"> #import &lt;unicode/uchar.h&gt;
</span><span class="cx"> #import &lt;unicode/uscript.h&gt;
</span><span class="cx"> 
</span><del>-#if PLATFORM(IOS)
-#import &lt;Foundation/NSString_NSURLExtras.h&gt;
-#endif
-
</del><span class="cx"> using namespace WebCore;
</span><span class="cx"> using namespace WTF;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebFrameNetworkingContextmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebFrameNetworkingContext.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -23,19 +23,20 @@
</span><span class="cx">  * THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><del>-#include &quot;WebViewPrivate.h&quot;
-#include &quot;WebFrameInternal.h&quot;
-#include &lt;WebFrameNetworkingContext.h&gt;
-#include &lt;WebCore/FrameLoader.h&gt;
-#include &lt;WebCore/FrameLoaderClient.h&gt;
-#include &lt;WebCore/NetworkStorageSession.h&gt;
-#include &lt;WebCore/Page.h&gt;
-#include &lt;WebCore/ResourceError.h&gt;
-#include &lt;WebCore/Settings.h&gt;
-#include &lt;wtf/NeverDestroyed.h&gt;
</del><ins>+#import &quot;WebFrameNetworkingContext.h&quot;
</ins><span class="cx"> 
</span><ins>+#import &quot;WebFrameInternal.h&quot;
+#import &quot;WebViewPrivate.h&quot;
+#import &lt;WebCore/CFNetworkSPI.h&gt;
+#import &lt;WebCore/FrameLoader.h&gt;
+#import &lt;WebCore/FrameLoaderClient.h&gt;
+#import &lt;WebCore/NetworkStorageSession.h&gt;
+#import &lt;WebCore/Page.h&gt;
+#import &lt;WebCore/ResourceError.h&gt;
+#import &lt;WebCore/Settings.h&gt;
+#import &lt;wtf/NeverDestroyed.h&gt;
+
</ins><span class="cx"> #if PLATFORM(IOS)
</span><del>-#import &lt;CFNetwork/CFHTTPCookiesPriv.h&gt;
</del><span class="cx"> #import &lt;WebCore/WebCoreThread.h&gt;
</span><span class="cx"> #import &lt;WebKitLegacy/WebFrameLoadDelegate.h&gt;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx"> #import &lt;WebCore/ApplicationCacheStorage.h&gt;
</span><span class="cx"> #import &lt;WebCore/BackForwardController.h&gt;
</span><span class="cx"> #import &lt;WebCore/BackForwardList.h&gt;
</span><del>-#import &lt;WebCore/MemoryCache.h&gt;
</del><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/Chrome.h&gt;
</span><span class="cx"> #import &lt;WebCore/ColorMac.h&gt;
</span><span class="cx"> #import &lt;WebCore/Cursor.h&gt;
</span><span class="lines">@@ -148,6 +148,7 @@
</span><span class="cx"> #import &lt;WebCore/Logging.h&gt;
</span><span class="cx"> #import &lt;WebCore/MIMETypeRegistry.h&gt;
</span><span class="cx"> #import &lt;WebCore/MainFrame.h&gt;
</span><ins>+#import &lt;WebCore/MemoryCache.h&gt;
</ins><span class="cx"> #import &lt;WebCore/MemoryPressureHandler.h&gt;
</span><span class="cx"> #import &lt;WebCore/NSURLFileTypeMappingsSPI.h&gt;
</span><span class="cx"> #import &lt;WebCore/NodeList.h&gt;
</span><span class="lines">@@ -188,8 +189,8 @@
</span><span class="cx"> #import &lt;runtime/ArrayPrototype.h&gt;
</span><span class="cx"> #import &lt;runtime/DateInstance.h&gt;
</span><span class="cx"> #import &lt;runtime/InitializeThreading.h&gt;
</span><ins>+#import &lt;runtime/JSCJSValue.h&gt;
</ins><span class="cx"> #import &lt;runtime/JSLock.h&gt;
</span><del>-#import &lt;runtime/JSCJSValue.h&gt;
</del><span class="cx"> #import &lt;wtf/Assertions.h&gt;
</span><span class="cx"> #import &lt;wtf/HashTraits.h&gt;
</span><span class="cx"> #import &lt;wtf/MainThread.h&gt;
</span><span class="lines">@@ -229,7 +230,6 @@
</span><span class="cx"> #import &quot;WebStorageManagerPrivate.h&quot;
</span><span class="cx"> #import &quot;WebUIKitSupport.h&quot;
</span><span class="cx"> #import &quot;WebVisiblePosition.h&quot;
</span><del>-#import &lt;CFNetwork/CFURLCachePriv.h&gt;
</del><span class="cx"> #import &lt;WebCore/DispatchSPI.h&gt;
</span><span class="cx"> #import &lt;WebCore/EventNames.h&gt;
</span><span class="cx"> #import &lt;WebCore/FontCache.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewPrivateh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebViewPrivate.h (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebViewPrivate.h        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit/mac/WebView/WebViewPrivate.h        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -47,6 +47,14 @@
</span><span class="cx"> #define ENABLE_REMOTE_INSPECTOR 1
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+#if !defined(ENABLE_TOUCH_EVENTS)
+#if TARGET_OS_IPHONE
+#define ENABLE_TOUCH_EVENTS 1
+#else
+#define ENABLE_TOUCH_EVENTS 0
+#endif
+#endif
+
</ins><span class="cx"> @class NSError;
</span><span class="cx"> @class WebFrame;
</span><span class="cx"> @class WebDeviceOrientation;
</span><span class="lines">@@ -556,7 +564,9 @@
</span><span class="cx"> - (void)_viewGeometryDidChange;
</span><span class="cx"> - (void)_overflowScrollPositionChangedTo:(CGPoint)offset forNode:(DOMNode *)node isUserScroll:(BOOL)userScroll;
</span><span class="cx"> 
</span><ins>+#if ENABLE_TOUCH_EVENTS
</ins><span class="cx"> - (NSArray *)_touchEventRegions;
</span><ins>+#endif
</ins><span class="cx"> 
</span><span class="cx"> /*!
</span><span class="cx">     @method _doNotStartObservingNetworkReachability
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/ChangeLog        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2014-11-19  Daniel Bates  &lt;dabates@apple.com&gt;
+
+        [iOS] Make WebKit build with public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=136863
+
+        Reviewed by David Kilzer.
+
+        * NetworkProcess/cocoa/NetworkProcessCocoa.mm: Moved CFNetwork forward declarations
+        from this file to file CFNetworkSPI.h and included header CFNetworkSPI.h.
+        * NetworkProcess/mac/NetworkDiskCacheMonitor.mm: Ditto.
+        * NetworkProcess/mac/NetworkResourceLoaderMac.mm: Ditto.
+        * UIProcess/API/Cocoa/WKProcessPool.mm: Ditto.
+        * UIProcess/mac/WebContextMac.mm: Ditto.
+        * WebProcess/cocoa/WebProcessCocoa.mm: Ditto.
+
</ins><span class="cx"> 2014-11-19  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add APIs for customizing the user agent
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcesscocoaNetworkProcessCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkProcessCocoa.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkProcessCocoa.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkProcessCocoa.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -31,25 +31,11 @@
</span><span class="cx"> #import &quot;NetworkProcessCreationParameters.h&quot;
</span><span class="cx"> #import &quot;NetworkResourceLoader.h&quot;
</span><span class="cx"> #import &quot;SandboxExtension.h&quot;
</span><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> #import &lt;mach/host_info.h&gt;
</span><span class="cx"> #import &lt;mach/mach.h&gt;
</span><span class="cx"> #import &lt;mach/mach_error.h&gt;
</span><span class="cx"> 
</span><del>-typedef const struct _CFURLCache* CFURLCacheRef;
-extern &quot;C&quot; CFURLCacheRef CFURLCacheCopySharedURLCache();
-extern &quot;C&quot; void _CFURLCachePurgeMemoryCache(CFURLCacheRef);
-extern &quot;C&quot; void CFURLConnectionInvalidateConnectionCache();
-
-#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090
-extern &quot;C&quot; void _CFURLCacheSetMinSizeForVMCachedResource(CFURLCacheRef, CFIndex);
-#endif
-
-#if PLATFORM(IOS)
-@interface NSURLCache (WKDetails)
--(id)_initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity relativePath:(NSString *)path;
-@end
-#endif
-
</del><span class="cx"> namespace WebKit {
</span><span class="cx"> 
</span><span class="cx"> void NetworkProcess::platformLowMemoryHandler(bool)
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessmacNetworkDiskCacheMonitormm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/mac/NetworkDiskCacheMonitor.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/mac/NetworkDiskCacheMonitor.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/NetworkProcess/mac/NetworkDiskCacheMonitor.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -30,13 +30,8 @@
</span><span class="cx"> #import &quot;NetworkProcessConnectionMessages.h&quot;
</span><span class="cx"> #import &quot;NetworkResourceLoader.h&quot;
</span><span class="cx"> #import &quot;WebCoreArgumentCoders.h&quot;
</span><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> 
</span><del>-#ifdef __has_include
-#if __has_include(&lt;CFNetwork/CFURLCachePriv.h&gt;)
-#include &lt;CFNetwork/CFURLCachePriv.h&gt;
-#endif
-#endif
-
</del><span class="cx"> #if (PLATFORM(IOS) &amp;&amp; __IPHONE_OS_VERSION_MIN_REQUIRED &gt;= 80000) || (PLATFORM(MAC) &amp;&amp; __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090)
</span><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span></span></pre></div>
<a id="trunkSourceWebKit2NetworkProcessmacNetworkResourceLoaderMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/NetworkProcess/mac/NetworkResourceLoaderMac.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/NetworkProcess/mac/NetworkResourceLoaderMac.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/NetworkProcess/mac/NetworkResourceLoaderMac.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -30,29 +30,12 @@
</span><span class="cx"> 
</span><span class="cx"> #import &quot;NetworkDiskCacheMonitor.h&quot;
</span><span class="cx"> #import &quot;ShareableResource.h&quot;
</span><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/ResourceHandle.h&gt;
</span><span class="cx"> #import &lt;WebCore/SharedBuffer.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><del>-#ifdef __has_include
-#if __has_include(&lt;CFNetwork/CFURLCache.h&gt;)
-#include &lt;CFNetwork/CFURLCache.h&gt;
-#endif
-#if __has_include(&lt;CFNetwork/CFURLCachePriv.h&gt;)
-#include &lt;CFNetwork/CFURLCachePriv.h&gt;
-#endif
-#endif
-
-#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090
-typedef const struct _CFURLCache* CFURLCacheRef;
-typedef const struct _CFCachedURLResponse* CFCachedURLResponseRef;
-extern &quot;C&quot; CFURLCacheRef CFURLCacheCopySharedURLCache();
-extern &quot;C&quot; CFCachedURLResponseRef CFURLCacheCopyResponseForRequest(CFURLCacheRef, CFURLRequestRef);
-extern &quot;C&quot; CFDataRef _CFCachedURLResponseGetMemMappedData(CFCachedURLResponseRef);
-extern &quot;C&quot; CFBooleanRef _CFURLCacheIsResponseDataMemMapped(CFURLCacheRef, CFDataRef);
-#endif
-
</del><span class="cx"> @interface NSCachedURLResponse (NSCachedURLResponseDetails)
</span><span class="cx"> -(CFCachedURLResponseRef)_CFCachedURLResponse;
</span><span class="cx"> @end
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessAPICocoaWKProcessPoolmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKProcessPool.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -41,6 +41,7 @@
</span><span class="cx"> #import &quot;WebProcessMessages.h&quot;
</span><span class="cx"> #import &quot;_WKDownloadDelegate.h&quot;
</span><span class="cx"> #import &quot;_WKProcessPoolConfiguration.h&quot;
</span><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/CertificateInfo.h&gt;
</span><span class="cx"> #import &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -49,14 +50,6 @@
</span><span class="cx"> #import &quot;WKGeolocationProviderIOS.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if __has_include(&lt;CFNetwork/CFNSURLConnection.h&gt;)
-#import &lt;CFNetwork/CFNSURLConnection.h&gt;
-#else
-enum : NSUInteger {
-    NSHTTPCookieAcceptPolicyExclusivelyFromMainDocumentDomain = 3,
-};
-#endif
-
</del><span class="cx"> @implementation WKProcessPool {
</span><span class="cx">     WebKit::WeakObjCPtr&lt;id &lt;_WKDownloadDelegate&gt;&gt; _downloadDelegate;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessmacWebContextMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/UIProcess/mac/WebContextMac.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> #import &quot;WebProcessCreationParameters.h&quot;
</span><span class="cx"> #import &quot;WebProcessMessages.h&quot;
</span><span class="cx"> #import &quot;WindowServerConnection.h&quot;
</span><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/Color.h&gt;
</span><span class="cx"> #import &lt;WebCore/FileSystem.h&gt;
</span><span class="cx"> #import &lt;WebCore/NotImplemented.h&gt;
</span><span class="lines">@@ -57,17 +58,6 @@
</span><span class="cx"> #import &lt;WebCore/QuickLookMac.h&gt;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED &gt;= 1090
-
-#if __has_include(&lt;CFNetwork/CFURLProtocolPriv.h&gt;)
-#include &lt;CFNetwork/CFURLProtocolPriv.h&gt;
-#else
-extern &quot;C&quot; Boolean _CFNetworkIsKnownHSTSHostWithSession(CFURLRef url, CFURLStorageSessionRef session);
-extern &quot;C&quot; void _CFNetworkResetHSTSHostsWithSession(CFURLStorageSessionRef session);
-#endif
-
-#endif
-
</del><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="cx"> NSString *WebDatabaseDirectoryDefaultsKey = @&quot;WebDatabaseDirectory&quot;;
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcesscocoaWebProcessCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm (176346 => 176347)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm        2014-11-19 22:24:16 UTC (rev 176346)
+++ trunk/Source/WebKit2/WebProcess/cocoa/WebProcessCocoa.mm        2014-11-19 22:32:04 UTC (rev 176347)
</span><span class="lines">@@ -38,6 +38,7 @@
</span><span class="cx"> #import &quot;WebProcessProxyMessages.h&quot;
</span><span class="cx"> #import &lt;JavaScriptCore/Options.h&gt;
</span><span class="cx"> #import &lt;WebCore/AXObjectCache.h&gt;
</span><ins>+#import &lt;WebCore/CFNetworkSPI.h&gt;
</ins><span class="cx"> #import &lt;WebCore/FileSystem.h&gt;
</span><span class="cx"> #import &lt;WebCore/Font.h&gt;
</span><span class="cx"> #import &lt;WebCore/LocalizedStrings.h&gt;
</span><span class="lines">@@ -56,12 +57,6 @@
</span><span class="cx"> 
</span><span class="cx"> #define ENABLE_MANUAL_WEBPROCESS_SANDBOXING !PLATFORM(IOS)
</span><span class="cx"> 
</span><del>-#if PLATFORM(IOS)
-@interface NSURLCache (WKDetails)
--(id)_initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity relativePath:(NSString *)path;
-@end
-#endif
-
</del><span class="cx"> using namespace WebCore;
</span><span class="cx"> 
</span><span class="cx"> namespace WebKit {
</span></span></pre>
</div>
</div>

</body>
</html>