diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/loader/SubresourceLoader.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/loader/SubresourceLoader.h')
-rw-r--r-- | WebCore/loader/SubresourceLoader.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/WebCore/loader/SubresourceLoader.h b/WebCore/loader/SubresourceLoader.h index 1811c30..b5bd34a 100644 --- a/WebCore/loader/SubresourceLoader.h +++ b/WebCore/loader/SubresourceLoader.h @@ -33,12 +33,6 @@ #include "ResourceLoader.h" #include <wtf/PassRefPtr.h> -#ifndef __OBJC__ -class NSArray; -class NSDictionary; -class NSMutableURLRequest; -#endif - namespace WebCore { class FormData; @@ -56,12 +50,15 @@ namespace WebCore { virtual bool load(const ResourceRequest&); virtual void willSendRequest(ResourceRequest&, const ResourceResponse& redirectResponse); + virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent); virtual void didReceiveResponse(const ResourceResponse&); virtual void didReceiveData(const char*, int, long long lengthReceived, bool allAtOnce); virtual void didFinishLoading(); virtual void didFail(const ResourceError&); virtual void didReceiveAuthenticationChallenge(const AuthenticationChallenge&); virtual void receivedCancellation(const AuthenticationChallenge&); + + void clearClient() { m_client = 0; } private: SubresourceLoader(Frame*, SubresourceLoaderClient*, bool sendResourceLoadCallbacks, bool shouldContentSniff); |