Commit 90cb8bdc authored by beidson's avatar beidson

Reviewed by Deth Bakin and Brian Dash

        Drop Panther Support (?!?) and change the comment explaining some SPI forward decls

        * Misc/WebDownload.m:



git-svn-id: svn://svn.chromium.org/blink/trunk@18926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent c75a3a67
2007-01-17 Brady Eidson <beidson@apple.com>
Reviewed by Deth Bakin and Brian Dash
Drop Panther Support (?!?) and change the comment explaining some SPI forward decls
* Misc/WebDownload.m:
2007-01-17 Darin Adler <darin@apple.com> 2007-01-17 Darin Adler <darin@apple.com>
Reviewed by Maciej. Reviewed by Maciej.
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#import <Foundation/NSURLAuthenticationChallenge.h> #import <Foundation/NSURLAuthenticationChallenge.h>
#import <Foundation/NSURLDownload.h> #import <Foundation/NSURLDownload.h>
#import <Foundation/NSURLDownloadPrivate.h>
#import <JavaScriptCore/Assertions.h> #import <JavaScriptCore/Assertions.h>
#import <WebKit/WebPanelAuthenticationHandler.h> #import <WebKit/WebPanelAuthenticationHandler.h>
...@@ -37,19 +38,14 @@ ...@@ -37,19 +38,14 @@
@class NSURLConnectionDelegateProxy; @class NSURLConnectionDelegateProxy;
// FIXME: Remove these declarations because _initWithLoadingConnection is declared in NSURLDownloadPrivate.h // FIXME: The following are NSURLDownload SPI - it would be nice to not have to override them at
// and _initWithLoadingResource is obsolete, once we compile only with the new Foundation. // some point in the future
@interface NSURLDownload (WebDownloadCapability) @interface NSURLDownload (WebDownloadCapability)
- (id)_initWithLoadingConnection:(NSURLConnection *)connection - (id)_initWithLoadingConnection:(NSURLConnection *)connection
request:(NSURLRequest *)request request:(NSURLRequest *)request
response:(NSURLResponse *)response response:(NSURLResponse *)response
delegate:(id)delegate delegate:(id)delegate
proxy:(NSURLConnectionDelegateProxy *)proxy; proxy:(NSURLConnectionDelegateProxy *)proxy;
- (id)_initWithLoadingResource:(NSURLConnection *)connection
request:(NSURLRequest *)request
response:(NSURLResponse *)response
delegate:(id)delegate
proxy:(NSURLConnectionDelegateProxy *)proxy;
- (id)_initWithRequest:(NSURLRequest *)request - (id)_initWithRequest:(NSURLRequest *)request
delegate:(id)delegate delegate:(id)delegate
directory:(NSString *)directory; directory:(NSString *)directory;
...@@ -225,17 +221,6 @@ ...@@ -225,17 +221,6 @@
return [super _initWithLoadingConnection:connection request:request response:response delegate:_webInternal proxy:proxy]; return [super _initWithLoadingConnection:connection request:request response:response delegate:_webInternal proxy:proxy];
} }
// FIXME: Remove this override because it no longer exists in newer Foundations.
- (id)_initWithLoadingResource:(NSURLConnection *)connection
request:(NSURLRequest *)request
response:(NSURLResponse *)response
delegate:(id)delegate
proxy:(NSURLConnectionDelegateProxy *)proxy
{
[self _setRealDelegate:delegate];
return [super _initWithLoadingResource:connection request:request response:response delegate:_webInternal proxy:proxy];
}
- (id)_initWithRequest:(NSURLRequest *)request - (id)_initWithRequest:(NSURLRequest *)request
delegate:(id)delegate delegate:(id)delegate
directory:(NSString *)directory directory:(NSString *)directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment