Changeset 194472 in webkit
- Timestamp:
- Dec 31, 2015, 3:49:46 PM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r194469 r194472 1 2015-12-31 David Kilzer <ddkilzer@apple.com> 2 3 Stop using USE(CFNETWORK) path on iOS 4 <https://webkit.org/b/142540> 5 6 Step 1/2: Do everything but turn off USE(CFNETWORK) internally. 7 8 Original patch by Antti Koivisto <antti@apple.com> on 2015-03-10 9 Reviewed by Daniel Bates. 10 11 * wtf/SchedulePair.h: Update macros to match WebCore. 12 1 13 2015-12-31 Andy Estes <aestes@apple.com> 2 14 -
trunk/Source/WTF/wtf/SchedulePair.h
r191803 r194472 36 36 #include <wtf/text/WTFString.h> 37 37 38 #if USE(FOUNDATION)38 #if PLATFORM(COCOA) && !USE(CFNETWORK) 39 39 OBJC_CLASS NSRunLoop; 40 40 #endif … … 46 46 static Ref<SchedulePair> create(CFRunLoopRef runLoop, CFStringRef mode) { return adoptRef(*new SchedulePair(runLoop, mode)); } 47 47 48 #if USE(FOUNDATION) && !USE(CFNETWORK)48 #if PLATFORM(COCOA) && !USE(CFNETWORK) 49 49 static Ref<SchedulePair> create(NSRunLoop* runLoop, CFStringRef mode) { return adoptRef(*new SchedulePair(runLoop, mode)); } 50 50 NSRunLoop* nsRunLoop() const { return m_nsRunLoop.get(); } … … 64 64 } 65 65 66 #if USE(FOUNDATION) && !USE(CFNETWORK)66 #if PLATFORM(COCOA) && !USE(CFNETWORK) 67 67 WTF_EXPORT_PRIVATE SchedulePair(NSRunLoop*, CFStringRef); 68 68 RetainPtr<NSRunLoop*> m_nsRunLoop; -
trunk/Source/WebCore/ChangeLog
r194470 r194472 1 2015-12-31 David Kilzer <ddkilzer@apple.com> 2 3 Stop using USE(CFNETWORK) path on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=142540 5 6 Step 1/2: Do everything but turn off USE(CFNETWORK) internally. 7 8 Original patch by Antti Koivisto <antti@apple.com> on 2015-03-10 9 Reviewed by Daniel Bates. 10 11 Unify OS X and iOS code paths. 12 13 This patch just fixes the NSURLConnection code path on iOS. It 14 doesn't yet delete any unnecessary code. 15 16 Changes covered by most existing tests. 17 18 * loader/DocumentLoader.h: 19 * loader/ResourceLoader.cpp: 20 * loader/ResourceLoader.h: 21 * loader/mac/DocumentLoaderMac.cpp: 22 - Update for iOS to use NSURLConnection loader. 23 24 * page/mac/PageMac.mm: 25 (WebCore::Page::platformInitialize): Always use the correct 26 runloop on iOS regardless of which thread this was called on. 27 (WebCore::Page::addSchedulePair): Update for iOS to use 28 NSURLConnection loader. 29 (WebCore::Page::removeSchedulePair): Ditto. 30 31 * platform/ios/wak/WebCoreThread.h: 32 (WebThreadRunLoop): No longer needs to be exported. 33 (WebThreadNSRunLoop): Export for WebKitLegacy. 34 35 * platform/network/ios/QuickLook.mm: Fix header order. 36 (WebQuickLookHandleAsDelegate): Make delegate objects implement 37 WebCoreResourceLoaderDelegate protocol. This unifies the 38 -clearHandle and -detachHandle methods that were used on iOS and 39 OS X, respectively. 40 (-[WebQuickLookHandleAsDelegate clearHandle]): Deleted. 41 (-[WebQuickLookHandleAsDelegate detachHandle]): Renamed from 42 -clearHandle. 43 (WebResourceLoaderQuickLookDelegate): Make delegate objects 44 implement WebCoreResourceLoaderDelegate protocol. 45 (-[WebResourceLoaderQuickLookDelegate clearHandle]): Deleted. 46 (-[WebResourceLoaderQuickLookDelegate detachHandle]): Renamed from 47 -clearHandle. 48 (WebCore::QuickLookHandle::~QuickLookHandle): Call 49 -detachHandle instead of -clearHandle. 50 51 * platform/network/mac/ResourceHandleMac.mm: 52 - Update for iOS to use NSURLConnection loader. 53 54 * platform/network/mac/WebCoreResourceHandleAsDelegate.h: 55 (WebCoreResourceLoaderDelegate): Define new protocol. 56 57 * platform/network/mac/WebCoreResourceHandleAsDelegate.mm: 58 (-[WebCoreResourceHandleAsDelegate detachHandle]): Gratuitous 59 nullptr fix. 60 61 * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h: 62 (WebCoreResourceHandleAsOperationQueueDelegate): Implement 63 WebCoreResourceLoaderDelegate protocol. 64 65 * platform/spi/cocoa/NSURLDownloadSPI.h: Declare more 66 NSURDownload SPI to clean up other source files and make 67 source compile on iOS with NSURLConnection code path. 68 1 69 2015-12-31 Andy Estes <aestes@apple.com> 2 70 -
trunk/Source/WebCore/loader/DocumentLoader.h
r192995 r194472 57 57 #endif 58 58 59 #if PLATFORM(COCOA) && !USE(CFNETWORK) 60 #include <wtf/SchedulePair.h> 61 #endif 62 59 63 namespace WebCore { 60 64 … … 145 149 const String& overrideEncoding() const { return m_overrideEncoding; } 146 150 147 #if PLATFORM( MAC)151 #if PLATFORM(COCOA) && !USE(CFNETWORK) 148 152 void schedule(SchedulePair&); 149 153 void unschedule(SchedulePair&); -
trunk/Source/WebCore/loader/ResourceLoader.cpp
r194419 r194472 725 725 } 726 726 727 #if PLATFORM( MAC)727 #if PLATFORM(COCOA) && !USE(CFNETWORK) 728 728 729 729 void ResourceLoader::schedule(SchedulePair& pair) -
trunk/Source/WebCore/loader/ResourceLoader.h
r189043 r194472 141 141 void willSwitchToSubstituteResource(); 142 142 143 #if PLATFORM( MAC)143 #if PLATFORM(COCOA) && !USE(CFNETWORK) 144 144 void schedule(WTF::SchedulePair&); 145 145 void unschedule(WTF::SchedulePair&); -
trunk/Source/WebCore/loader/mac/DocumentLoaderMac.cpp
r188486 r194472 34 34 namespace WebCore { 35 35 36 #if PLATFORM(MAC)36 #if !USE(CFNETWORK) 37 37 38 38 static void scheduleAll(const ResourceLoaderMap& loaders, SchedulePair& pair) -
trunk/Source/WebCore/page/mac/PageMac.mm
r191673 r194472 35 35 #import "MainFrame.h" 36 36 37 #if PLATFORM(IOS) 38 #import "WebCoreThread.h" 39 #endif 40 37 41 namespace WebCore { 38 42 39 43 void Page::platformInitialize() 40 44 { 45 #if PLATFORM(IOS) 41 46 #if USE(CFNETWORK) 42 addSchedulePair(SchedulePair::create([[NSRunLoop currentRunLoop] getCFRunLoop], kCFRunLoopCommonModes)); 47 addSchedulePair(SchedulePair::create(WebThreadRunLoop(), kCFRunLoopCommonModes)); 48 #else 49 addSchedulePair(SchedulePair::create(WebThreadNSRunLoop(), kCFRunLoopCommonModes)); 50 #endif // USE(CFNETWORK) 43 51 #else 44 52 addSchedulePair(SchedulePair::create([NSRunLoop currentRunLoop], kCFRunLoopCommonModes)); … … 52 60 m_scheduledRunLoopPairs->add(pair.ptr()); 53 61 54 #if ! PLATFORM(IOS)62 #if !USE(CFNETWORK) 55 63 for (Frame* frame = m_mainFrame.get(); frame; frame = frame->tree().traverseNext()) { 56 64 if (DocumentLoader* documentLoader = frame->loader().documentLoader()) … … 72 80 m_scheduledRunLoopPairs->remove(pair.ptr()); 73 81 74 #if ! PLATFORM(IOS)82 #if !USE(CFNETWORK) 75 83 for (Frame* frame = m_mainFrame.get(); frame; frame = frame->tree().traverseNext()) { 76 84 if (DocumentLoader* documentLoader = frame->loader().documentLoader()) -
trunk/Source/WebCore/platform/ios/wak/WebCoreThread.h
r179886 r194472 81 81 static inline void WebThreadSetShouldYield() { webThreadShouldYield = true; } 82 82 83 WEBCORE_EXPORTCFRunLoopRef WebThreadRunLoop(void);84 NSRunLoop* WebThreadNSRunLoop(void);83 CFRunLoopRef WebThreadRunLoop(void); 84 WEBCORE_EXPORT NSRunLoop* WebThreadNSRunLoop(void); 85 85 WebThreadContext *WebThreadCurrentContext(void); 86 86 bool WebThreadContextIsCurrent(void); -
trunk/Source/WebCore/platform/network/ios/QuickLook.mm
r194428 r194472 33 33 #import "Logging.h" 34 34 #import "NSFileManagerSPI.h" 35 #import "QuickLookSoftLink.h"36 35 #import "ResourceError.h" 37 36 #import "ResourceHandle.h" … … 39 38 #import "RuntimeApplicationChecksIOS.h" 40 39 #import "SynchronousResourceHandleCFURLConnectionDelegate.h" 40 #import "WebCoreResourceHandleAsDelegate.h" 41 41 #import "WebCoreURLResponseIOS.h" 42 42 #import <Foundation/Foundation.h> … … 46 46 #import <wtf/Vector.h> 47 47 #import <wtf/text/WTFString.h> 48 49 #import "QuickLookSoftLink.h" 48 50 49 51 using namespace WebCore; … … 194 196 // So we create WebQuickLookHandleAsDelegate as an intermediate delegate object and pass it to 195 197 // QLPreviewConverter. The proxy delegate then forwards the messages on to the CFNetwork code. 196 @interface WebQuickLookHandleAsDelegate : NSObject <NSURLConnectionDelegate > {198 @interface WebQuickLookHandleAsDelegate : NSObject <NSURLConnectionDelegate, WebCoreResourceLoaderDelegate> { 197 199 RefPtr<SynchronousResourceHandleCFURLConnectionDelegate> m_connectionDelegate; 198 200 } 199 201 200 202 - (id)initWithConnectionDelegate:(SynchronousResourceHandleCFURLConnectionDelegate*)connectionDelegate; 201 - (void)clearHandle;202 203 @end 203 204 … … 253 254 } 254 255 255 - (void) clearHandle256 - (void)detachHandle 256 257 { 257 258 m_connectionDelegate = nullptr; … … 260 261 #endif 261 262 262 @interface WebResourceLoaderQuickLookDelegate : NSObject <NSURLConnectionDelegate > {263 @interface WebResourceLoaderQuickLookDelegate : NSObject <NSURLConnectionDelegate, WebCoreResourceLoaderDelegate> { 263 264 RefPtr<ResourceLoader> _resourceLoader; 264 265 BOOL _hasSentDidReceiveResponse; … … 351 352 } 352 353 353 - (void) clearHandle354 - (void)detachHandle 354 355 { 355 356 _resourceLoader = nullptr; … … 492 493 m_converter = nullptr; 493 494 494 [m_delegate clearHandle];495 [m_delegate detachHandle]; 495 496 } 496 497 -
trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm
r194378 r194472 315 315 } 316 316 317 #if PLATFORM(MAC)317 #if !USE(CFNETWORK) 318 318 319 319 void ResourceHandle::schedule(SchedulePair& pair) -
trunk/Source/WebCore/platform/network/mac/WebCoreResourceHandleAsDelegate.h
r146929 r194472 27 27 #define WebCoreResourceHandleAsDelegate_h 28 28 29 #if !USE(CFNETWORK)30 31 29 namespace WebCore { 32 30 class ResourceHandle; 33 31 } 34 32 35 @interface WebCoreResourceHandleAsDelegate : NSObject <NSURLConnectionDelegate> { 33 @protocol WebCoreResourceLoaderDelegate 34 - (void)detachHandle; 35 @end 36 37 #if !USE(CFNETWORK) 38 39 @interface WebCoreResourceHandleAsDelegate : NSObject <NSURLConnectionDelegate, WebCoreResourceLoaderDelegate> { 36 40 WebCore::ResourceHandle* m_handle; 37 41 } 38 42 - (id)initWithHandle:(WebCore::ResourceHandle*)handle; 39 - (void)detachHandle;40 43 @end 41 44 -
trunk/Source/WebCore/platform/network/mac/WebCoreResourceHandleAsDelegate.mm
r187609 r194472 55 55 - (void)detachHandle 56 56 { 57 m_handle = 0;57 m_handle = nullptr; 58 58 } 59 59 -
trunk/Source/WebCore/platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h
r168248 r194472 29 29 #if !USE(CFNETWORK) 30 30 31 #include "WebCoreResourceHandleAsDelegate.h" 31 32 #include <dispatch/dispatch.h> 32 33 #include <wtf/RetainPtr.h> … … 36 37 } 37 38 38 @interface WebCoreResourceHandleAsOperationQueueDelegate : NSObject <NSURLConnectionDelegate > {39 @interface WebCoreResourceHandleAsOperationQueueDelegate : NSObject <NSURLConnectionDelegate, WebCoreResourceLoaderDelegate> { 39 40 WebCore::ResourceHandle* m_handle; 40 41 … … 47 48 48 49 - (id)initWithHandle:(WebCore::ResourceHandle*)handle; 49 - (void)detachHandle;50 50 - (void)continueWillSendRequest:(NSURLRequest *)newRequest; 51 51 - (void)continueDidReceiveResponse; -
trunk/Source/WebCore/platform/spi/cocoa/NSURLDownloadSPI.h
r187609 r194472 30 30 #import <Foundation/NSURLDownload.h> 31 31 32 #if USE(APPLE_INTERNAL_SDK) 33 #import <Foundation/NSURLDownloadPrivate.h> 34 #else 35 @interface NSURLDownload () 36 +(id)_downloadWithLoadingConnection:(NSURLConnection *)connection request:(NSURLRequest *)request response:(NSURLResponse *)response delegate:(id)delegate proxy:(id)proxy; 37 @end 38 #endif 39 32 40 #else 33 41 … … 57 65 @end 58 66 67 #ifndef WebDownload_h 68 /* Also defined in <WebKit/WebDownload.h>. */ 69 @interface NSURLDownload : NSObject 70 @end 71 #endif 72 59 73 @interface NSURLDownload () 60 74 - (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id <NSURLDownloadDelegate>)delegate; 75 - (instancetype)initWithResumeData:(NSData *)resumeData delegate:(id <NSURLDownloadDelegate>)delegate path:(NSString *)path; 76 - (void)cancel; 77 - (void)setDestination:(NSString *)path allowOverwrite:(BOOL)allowOverwrite; 78 @property (readonly, copy) NSURLRequest *request; 79 @property (readonly, copy) NSData *resumeData; 80 @property BOOL deletesFileUponFailure; 81 82 +(id)_downloadWithLoadingConnection:(NSURLConnection *)connection request:(NSURLRequest *)request response:(NSURLResponse *)response delegate:(id)delegate proxy:(id)proxy; 61 83 @end 62 84 -
trunk/Source/WebKit/mac/ChangeLog
r194463 r194472 1 2015-12-31 David Kilzer <ddkilzer@apple.com> 2 3 Stop using USE(CFNETWORK) path on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=142540 5 6 Step 1/2: Do everything but turn off USE(CFNETWORK) internally. 7 8 Original patch by Antti Koivisto <antti@apple.com> on 2015-03-10 9 Reviewed by Daniel Bates. 10 11 * Misc/WebDownload.h: Add header guard to make 12 NSURLDownloadSPI.h work when pre-declaring NSURLDownload object. 13 * Misc/WebKitVersionChecks.h: Define 14 WEBKIT_FIRST_VERSION_WITH_LOADING_DURING_COMMON_RUNLOOP_MODES 15 for iOS. 16 * WebView/WebView.mm: 17 (-[WebView _commonInitializationWithFrameName:groupName:]): Use 18 the correct runloop on iOS. 19 * WebView/WebViewPrivate.h: 20 (-[WebView(WebPendingPublic) scheduleInRunLoop:forMode:]): 21 (-[WebView(WebPendingPublic) unscheduleFromRunLoop:forMode:]): 22 - These are available on iOS now. 23 1 24 2015-12-31 Simon Fraser <simon.fraser@apple.com> 2 25 -
trunk/Source/WebKit/mac/Misc/WebDownload.h
r186124 r194472 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 29 #ifndef WebDownload_h 30 #define WebDownload_h 28 31 29 32 #if !TARGET_OS_IPHONE || (defined USE_APPLE_INTERNAL_SDK && USE_APPLE_INTERNAL_SDK) … … 79 82 80 83 @end 84 85 #endif /* WebDownload_h */ -
trunk/Source/WebKit/mac/Misc/WebKitVersionChecks.h
r183023 r194472 73 73 #define WEBKIT_FIRST_VERSION_WITH_YOUTUBE_EMBED_IFRAME_TRANSFORM 2239 // iOS 6.0 74 74 #define WEBKIT_FIRST_VERSION_WITHOUT_LEGACY_BACKGROUNDSIZE_SHORTHAND_BEHAVIOR 2665 // iOS 7.0 75 #define WEBKIT_FIRST_VERSION_WITH_LOADING_DURING_COMMON_RUNLOOP_MODES 2665 // iOS 7.0 75 76 #define WEBKIT_FIRST_VERSION_WITH_INSECURE_CONTENT_BLOCKING 3454 76 77 #endif // PLATFORM(IOS) -
trunk/Source/WebKit/mac/WebView/WebView.mm
r194318 r194472 1027 1027 [WebFrame _createMainFrameWithPage:_private->page frameName:frameName frameView:frameView]; 1028 1028 1029 #if !PLATFORM(IOS) 1029 #if PLATFORM(IOS) 1030 NSRunLoop *runLoop = WebThreadNSRunLoop(); 1031 #else 1030 1032 NSRunLoop *runLoop = [NSRunLoop mainRunLoop]; 1033 #endif 1031 1034 1032 1035 if (WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_LOADING_DURING_COMMON_RUNLOOP_MODES)) … … 1034 1037 else 1035 1038 [self scheduleInRunLoop:runLoop forMode:NSDefaultRunLoopMode]; 1036 #endif1037 1039 1038 1040 [self _addToAllWebViewsSet]; … … 6619 6621 @implementation WebView (WebPendingPublic) 6620 6622 6621 #if !PLATFORM(IOS)6622 6623 - (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode 6623 6624 { … … 6641 6642 core(self)->removeSchedulePair(SchedulePair::create(schedulePairRunLoop, (CFStringRef)mode)); 6642 6643 } 6643 #endif6644 6644 6645 6645 static BOOL findString(NSView <WebDocumentSearching> *searchView, NSString *string, WebFindOptions options) -
trunk/Source/WebKit/mac/WebView/WebViewPrivate.h
r186909 r194472 199 199 @interface WebView (WebPendingPublic) 200 200 201 #if !TARGET_OS_IPHONE202 201 - (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode; 203 202 - (void)unscheduleFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode; 204 #endif205 203 206 204 - (BOOL)findString:(NSString *)string options:(WebFindOptions)options; -
trunk/Source/WebKit2/ChangeLog
r194470 r194472 1 2015-12-31 David Kilzer <ddkilzer@apple.com> 2 3 Stop using USE(CFNETWORK) path on iOS 4 https://bugs.webkit.org/show_bug.cgi?id=142540 5 6 Step 1/2: Do everything but turn off USE(CFNETWORK) internally. 7 8 Original patch by Antti Koivisto <antti@apple.com> on 2015-03-10 9 Reviewed by Daniel Bates. 10 11 * NetworkProcess/Downloads/ios/DownloadIOS.mm: This is now the 12 USE(CFNETWORK) && !USE(NETWORK_SESSION) code path. 13 * NetworkProcess/Downloads/mac/DownloadMac.mm: This is now the 14 !USE(CFNETWORK) && !USE(NETWORK_SESSION) code path. Make use of 15 NSURLDownloadSPI.h. Ignore a deprecated delcaration warning now 16 that we're using actual header declarations internally. 17 * NetworkProcess/NetworkProcess.cpp: 18 (WebKit::NetworkProcess::initializeNetworkProcess): Update for 19 iOS to use NSURLConnection loader. 20 1 21 2015-12-31 Andy Estes <aestes@apple.com> 2 22 -
trunk/Source/WebKit2/NetworkProcess/Downloads/ios/DownloadIOS.mm
r194211 r194472 27 27 #import "Download.h" 28 28 29 #if PLATFORM(IOS) && !USE(NETWORK_SESSION)29 #if USE(CFNETWORK) && !USE(NETWORK_SESSION) 30 30 31 31 #import "DataReference.h" 32 #import <CFNetwork/CFURLDownload.h> 32 33 #import <WebCore/NotImplemented.h> 33 34 #import <WebCore/ResourceError.h> … … 37 38 #import <wtf/RunLoop.h> 38 39 39 #if USE(CFNETWORK)40 #import <CFNetwork/CFURLDownload.h>41 #endif42 43 40 using namespace WebCore; 44 41 45 42 namespace WebKit { 46 43 47 #if USE(CFNETWORK)48 44 // FIXME: If possible, we should consider moving some callbacks off the main thread or at least 49 45 // making them asynchonous calls. … … 126 122 }; 127 123 } 128 #endif // USE(CFNETWORK)129 124 130 125 void Download::start() … … 140 135 void Download::startWithHandle(ResourceHandle* handle, const ResourceResponse& response) 141 136 { 142 #if USE(CFNETWORK)143 137 CFURLDownloadClient client; 144 138 setUpDownloadClient(client, *this); … … 147 141 m_download = adoptCF(CFURLDownloadCreateAndStartWithLoadingConnection(NULL, handle->releaseConnectionForDownload().get(), m_request.cfURLRequest(UpdateHTTPBody), response.cfURLResponse(), &client)); 148 142 #pragma clang diagnostic pop 149 #else150 notImplemented();151 #endif152 143 } 153 144 … … 194 185 } // namespace WebKit 195 186 196 #endif // PLATFORM(IOS)187 #endif // USE(CFNETWORK) && !USE(NETWORK_SESSION) -
trunk/Source/WebKit2/NetworkProcess/Downloads/mac/DownloadMac.mm
r194211 r194472 27 27 #import "Download.h" 28 28 29 #if PLATFORM(MAC) && !USE(NETWORK_SESSION)29 #if !USE(CFNETWORK) && !USE(NETWORK_SESSION) 30 30 31 31 #import <WebCore/AuthenticationChallenge.h> 32 32 #import <WebCore/AuthenticationMac.h> 33 #import <WebCore/NSURLDownloadSPI.h> 33 34 #import <WebCore/NotImplemented.h> 34 35 #import <WebCore/ResourceHandle.h> … … 38 39 #import "WebPage.h" 39 40 40 @interface NSURLDownload (WebNSURLDownloadDetails)41 +(id)_downloadWithLoadingConnection:(NSURLConnection *)connection42 request:(NSURLRequest *)request43 response:(NSURLResponse *)r44 delegate:(id)delegate45 proxy:(id)proxy;46 @end47 48 41 @interface WKDownloadAsDelegate : NSObject <NSURLDownloadDelegate> { 49 42 WebKit::Download* _download; … … 78 71 79 72 m_delegate = adoptNS([[WKDownloadAsDelegate alloc] initWithDownload:this]); 73 #pragma clang diagnostic push 74 #pragma clang diagnostic ignored "-Wdeprecated-declarations" 80 75 m_nsURLDownload = [NSURLDownload _downloadWithLoadingConnection:handle->connection() 81 76 request:m_request.nsURLRequest(UpdateHTTPBody) … … 83 78 delegate:m_delegate.get() 84 79 proxy:nil]; 80 #pragma clang diagnostic pop 85 81 86 82 // FIXME: Allow this to be changed by the client. … … 309 305 @end 310 306 311 #endif // PLATFORM(MAC) && !USE(NETWORK_SESSION)307 #endif // !USE(CFNETWORK) && !USE(NETWORK_SESSION) -
trunk/Source/WebKit2/NetworkProcess/NetworkProcess.cpp
r194264 r194472 199 199 setCanHandleHTTPSServerTrustEvaluation(parameters.canHandleHTTPSServerTrustEvaluation); 200 200 201 #if PLATFORM( MAC) || USE(CFNETWORK)201 #if PLATFORM(COCOA) || USE(CFNETWORK) 202 202 SessionTracker::setIdentifierBase(parameters.uiProcessBundleIdentifier); 203 203 #endif
Note:
See TracChangeset
for help on using the changeset viewer.