diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/loader/ResourceLoader.h | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/loader/ResourceLoader.h')
-rw-r--r-- | WebCore/loader/ResourceLoader.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/WebCore/loader/ResourceLoader.h b/WebCore/loader/ResourceLoader.h index 722f5fc..c8cc208 100644 --- a/WebCore/loader/ResourceLoader.h +++ b/WebCore/loader/ResourceLoader.h @@ -40,6 +40,7 @@ namespace WebCore { + class ApplicationCache; class DocumentLoader; class Frame; class FrameLoader; @@ -82,6 +83,7 @@ namespace WebCore { virtual void didFinishLoading(); virtual void didFail(const ResourceError&); + virtual bool shouldUseCredentialStorage(); virtual void didReceiveAuthenticationChallenge(const AuthenticationChallenge&); void didCancelAuthenticationChallenge(const AuthenticationChallenge&); virtual void receivedCancellation(const AuthenticationChallenge&); @@ -96,6 +98,7 @@ namespace WebCore { virtual void wasBlocked(ResourceHandle*); virtual void cannotShowURL(ResourceHandle*); virtual void willStopBufferingData(ResourceHandle*, const char* data, int length) { willStopBufferingData(data, length); } + virtual bool shouldUseCredentialStorage(ResourceHandle*) { return shouldUseCredentialStorage(); } virtual void didReceiveAuthenticationChallenge(ResourceHandle*, const AuthenticationChallenge& challenge) { didReceiveAuthenticationChallenge(challenge); } virtual void didCancelAuthenticationChallenge(ResourceHandle*, const AuthenticationChallenge& challenge) { didCancelAuthenticationChallenge(challenge); } virtual void receivedCancellation(ResourceHandle*, const AuthenticationChallenge& challenge) { receivedCancellation(challenge); } @@ -112,6 +115,10 @@ namespace WebCore { protected: ResourceLoader(Frame*, bool sendResourceLoadCallbacks, bool shouldContentSniff); +#if ENABLE(OFFLINE_WEB_APPLICATIONS) + bool scheduleLoadFallbackResourceFromApplicationCache(ApplicationCache* = 0); +#endif + virtual void didCancel(const ResourceError&); void didFinishLoadingOnePart(); @@ -139,9 +146,6 @@ namespace WebCore { bool m_shouldContentSniff; bool m_shouldBufferData; bool m_defersLoading; -#if ENABLE(OFFLINE_WEB_APPLICATIONS) - bool m_wasLoadedFromApplicationCache; -#endif ResourceRequest m_deferredRequest; }; |