summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/ResourceLoader.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
commit635860845790a19bf50bbc51ba8fb66a96dde068 (patch)
treeef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/loader/ResourceLoader.h
parent8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff)
downloadexternal_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.h10
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;
};