Home
last modified time | relevance | path

Searched refs:ResourceHandle (Results 1 – 25 of 142) sorted by relevance

123456

/external/webkit/Source/WebCore/platform/network/curl/
DResourceHandleCurl.cpp48 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
49 virtual void didReceiveData(ResourceHandle*, const char*, int, int encodedDataLength);
50 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
51 virtual void didFail(ResourceHandle*, const ResourceError&);
67 void WebCoreSynchronousLoader::didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
72 void WebCoreSynchronousLoader::didReceiveData(ResourceHandle*, const char* data, int length, int) in didReceiveData() argument
77 void WebCoreSynchronousLoader::didFinishLoading(ResourceHandle*, double) in didFinishLoading() argument
81 void WebCoreSynchronousLoader::didFail(ResourceHandle*, const ResourceError& error) in didFail() argument
93 ResourceHandle::~ResourceHandle() in ~ResourceHandle()
98 bool ResourceHandle::start(NetworkingContext* context) in start()
[all …]
DResourceHandleManager.h57 void add(ResourceHandle*);
58 void cancel(ResourceHandle*);
61 void dispatchSynchronousJob(ResourceHandle*);
63 void setupPOST(ResourceHandle*, struct curl_slist**);
64 void setupPUT(ResourceHandle*, struct curl_slist**);
76 void removeFromCurl(ResourceHandle*);
77 bool removeScheduledJob(ResourceHandle*);
78 void startJob(ResourceHandle*);
81 void initializeHandle(ResourceHandle*);
88 Vector<ResourceHandle*> m_resourceHandleList;
DResourceHandleManager.cpp158 static void handleLocalReceiveResponse (CURL* handle, ResourceHandle* job, ResourceHandleInternal* … in handleLocalReceiveResponse()
178 ResourceHandle* job = static_cast<ResourceHandle*>(data); in writeCallback()
221 ResourceHandle* job = static_cast<ResourceHandle*>(data); in headerCallback()
299 ResourceHandle* job = static_cast<ResourceHandle*>(data); in readCallback()
373 ResourceHandle* job = 0; in downloadTimerCallback()
439 void ResourceHandleManager::removeFromCurl(ResourceHandle* job) in removeFromCurl()
452 void ResourceHandleManager::setupPUT(ResourceHandle*, struct curl_slist**) in setupPUT() argument
460 void ResourceHandleManager::setupPOST(ResourceHandle* job, struct curl_slist** headers) in setupPOST()
538 void ResourceHandleManager::add(ResourceHandle* job) in add()
548 bool ResourceHandleManager::removeScheduledJob(ResourceHandle* job) in removeScheduledJob()
[all …]
/external/webkit/Source/WebCore/platform/network/
DResourceHandleClient.h54 class ResourceHandle; variable
70 …virtual void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse& /*redirect… in willSendRequest() argument
71 …virtual void didSendData(ResourceHandle*, unsigned long long /*bytesSent*/, unsigned long long /*t… in didSendData() argument
73 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&) { } in didReceiveResponse() argument
74 … virtual void didReceiveData(ResourceHandle*, const char*, int, int /*encodedDataLength*/) { } in didReceiveData() argument
75 virtual void didReceiveCachedMetadata(ResourceHandle*, const char*, int) { } in didReceiveCachedMetadata() argument
76 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/) { } in didFinishLoading() argument
77 virtual void didFail(ResourceHandle*, const ResourceError&) { } in didFail() argument
78 virtual void wasBlocked(ResourceHandle*) { } in wasBlocked() argument
79 virtual void cannotShowURL(ResourceHandle*) { } in cannotShowURL() argument
[all …]
DResourceHandle.cpp42 ResourceHandle::ResourceHandle(const ResourceRequest& request, ResourceHandleClient* client, bool d… in ResourceHandle() function in WebCore::ResourceHandle
56 PassRefPtr<ResourceHandle> ResourceHandle::create(NetworkingContext* context, const ResourceRequest… in create()
60 PassRefPtr<ResourceHandle> handle = blobRegistry().createResourceHandle(request, client); in create()
66 …RefPtr<ResourceHandle> newHandle(adoptRef(new ResourceHandle(request, client, defersLoading, shoul… in create()
77 void ResourceHandle::scheduleFailure(FailureType type) in scheduleFailure()
83 void ResourceHandle::fireFailure(Timer<ResourceHandle>*) in fireFailure() argument
105 ResourceHandleClient* ResourceHandle::client() const in client()
110 void ResourceHandle::setClient(ResourceHandleClient* client) in setClient()
115 ResourceRequest& ResourceHandle::firstRequest() in firstRequest()
120 const String& ResourceHandle::lastHTTPMethod() const in lastHTTPMethod()
[all …]
DResourceHandle.h96 class ResourceHandle : public RefCounted<ResourceHandle>
102 …static PassRefPtr<ResourceHandle> create(NetworkingContext*, const ResourceRequest&, ResourceHandl…
112 virtual ~ResourceHandle();
161 void fileLoadTimer(Timer<ResourceHandle>*);
195 void fireFailure(Timer<ResourceHandle>*);
203 using RefCounted<ResourceHandle>::ref;
204 using RefCounted<ResourceHandle>::deref;
207ResourceHandle(const ResourceRequest&, ResourceHandleClient*, bool defersLoading, bool shouldConte…
DResourceHandleInternal.h87 …ResourceHandleInternal(ResourceHandle* loader, const ResourceRequest& request, ResourceHandleClien… in ResourceHandleInternal()
98 , m_fileLoadTimer(loader, &ResourceHandle::fileLoadTimer) in ResourceHandleInternal()
129 , m_scheduledFailureType(ResourceHandle::NoFailure) in ResourceHandleInternal()
130 , m_failureTimer(loader, &ResourceHandle::fireFailure) in ResourceHandleInternal()
166 Timer<ResourceHandle> m_fileLoadTimer;
215 ResourceHandle::FailureType m_scheduledFailureType;
216 Timer<ResourceHandle> m_failureTimer;
DBlobResourceHandle.cpp81 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
82 virtual void didReceiveData(ResourceHandle*, const char*, int, int /*encodedDataLength*/);
83 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
84 virtual void didFail(ResourceHandle*, const ResourceError&);
99 void BlobResourceSynchronousLoader::didReceiveResponse(ResourceHandle* handle, const ResourceRespon… in didReceiveResponse()
115 void BlobResourceSynchronousLoader::didReceiveData(ResourceHandle*, const char*, int, int) in didReceiveData() argument
119 void BlobResourceSynchronousLoader::didFinishLoading(ResourceHandle*, double) in didFinishLoading() argument
123 void BlobResourceSynchronousLoader::didFail(ResourceHandle*, const ResourceError& error) in didFail() argument
142 : ResourceHandle(request, client, false, false) in BlobResourceHandle()
184 ResourceHandle::cancel(); in cancel()
DDataURL.h31 class ResourceHandle; variable
33 void handleDataURL(ResourceHandle*);
/external/webkit/Source/WebCore/loader/
DResourceLoader.h48 class ResourceHandle; variable
104 …virtual void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse& redirectRe…
105 …virtual void didSendData(ResourceHandle*, unsigned long long bytesSent, unsigned long long totalBy…
106 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
107 virtual void didReceiveData(ResourceHandle*, const char*, int, int encodedDataLength);
108 …virtual void didReceiveCachedMetadata(ResourceHandle*, const char* data, int length) { didReceiveC… in didReceiveCachedMetadata() argument
109 virtual void didFinishLoading(ResourceHandle*, double finishTime);
110 virtual void didFail(ResourceHandle*, const ResourceError&);
111 virtual void wasBlocked(ResourceHandle*);
112 virtual void cannotShowURL(ResourceHandle*);
[all …]
DPingLoader.h45 class ResourceHandle; variable
64 void didReceiveResponse(ResourceHandle*, const ResourceResponse&) { delete this; } in didReceiveResponse() argument
65 void didReceiveData(ResourceHandle*, const char*, int, int) { delete this; } in didReceiveData() argument
66 void didFinishLoading(ResourceHandle*, double) { delete this; } in didFinishLoading() argument
67 void didFail(ResourceHandle*, const ResourceError&) { delete this; } in didFail() argument
69 bool shouldUseCredentialStorage(ResourceHandle*) { return m_shouldUseCredentialStorage; } in shouldUseCredentialStorage() argument
71 RefPtr<ResourceHandle> m_handle;
DResourceLoader.cpp55 if (ResourceHandle::supportsBufferedData() && m_handle) in resourceData()
164 …m_handle = ResourceHandle::create(m_frame->loader()->networkingContext(), m_request, this, m_defer… in start()
215 if (ResourceHandle::supportsBufferedData()) { in addData()
413 void ResourceLoader::willSendRequest(ResourceHandle*, ResourceRequest& request, const ResourceRespo… in willSendRequest() argument
422 void ResourceLoader::didSendData(ResourceHandle*, unsigned long long bytesSent, unsigned long long … in didSendData() argument
427 void ResourceLoader::didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
436 void ResourceLoader::didReceiveData(ResourceHandle*, const char* data, int length, int encodedDataL… in didReceiveData() argument
443 void ResourceLoader::didFinishLoading(ResourceHandle*, double finishTime) in didFinishLoading() argument
448 void ResourceLoader::didFail(ResourceHandle*, const ResourceError& error) in didFail() argument
457 void ResourceLoader::wasBlocked(ResourceHandle*) in wasBlocked() argument
[all …]
/external/webkit/Source/WebCore/platform/network/android/
DResourceHandleAndroid.cpp47 ResourceHandle::~ResourceHandle() in ~ResourceHandle()
51 bool ResourceHandle::start(NetworkingContext* context) in start()
65 void ResourceHandle::cancel() in cancel()
71 PassRefPtr<SharedBuffer> ResourceHandle::bufferedData() in bufferedData()
77 bool ResourceHandle::supportsBufferedData() in supportsBufferedData()
86 void ResourceHandle::pauseLoad(bool pause) in pauseLoad()
93 void ResourceHandle::platformSetDefersLoading(bool) in platformSetDefersLoading()
102 bool ResourceHandle::willLoadFromCache(ResourceRequest& request, Frame*) in willLoadFromCache()
111 bool ResourceHandle::loadsBlocked() in loadsBlocked()
129 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
[all …]
/external/webkit/Source/WebKit/chromium/src/
DResourceHandle.cpp92 ResourceHandle* m_owner;
200 ResourceHandle::ResourceHandle(const ResourceRequest& request, in ResourceHandle() function in WebCore::ResourceHandle
211 PassRefPtr<ResourceHandle> ResourceHandle::create(NetworkingContext* context, in create()
217 RefPtr<ResourceHandle> newHandle = adoptRef(new ResourceHandle( in create()
226 ResourceRequest& ResourceHandle::firstRequest() in firstRequest()
231 ResourceHandleClient* ResourceHandle::client() const in client()
236 void ResourceHandle::setClient(ResourceHandleClient* client) in setClient()
241 void ResourceHandle::setDefersLoading(bool value) in setDefersLoading()
246 bool ResourceHandle::start(NetworkingContext* context) in start()
252 bool ResourceHandle::hasAuthenticationChallenge() const in hasAuthenticationChallenge()
[all …]
/external/webkit/Source/WebCore/platform/network/win/
DResourceHandleWin.cpp53 InternetSetStatusCallback(internetHandle, &ResourceHandle::internetStatusCallback); in createInternetHandle()
87 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
88 virtual void didReceiveData(ResourceHandle*, const char*, int, int encodedDataLength);
89 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
90 virtual void didFail(ResourceHandle*, const ResourceError&);
112 void WebCoreSynchronousLoader::didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
117 void WebCoreSynchronousLoader::didReceiveData(ResourceHandle*, const char* data, int length, int) in didReceiveData() argument
122 void WebCoreSynchronousLoader::didFinishLoading(ResourceHandle*, double) in didFinishLoading() argument
126 void WebCoreSynchronousLoader::didFail(ResourceHandle*, const ResourceError& error) in didFail() argument
136 ResourceHandle::~ResourceHandle() in ~ResourceHandle()
[all …]
/external/webkit/Source/WebCore/platform/network/qt/
DResourceHandleQt.cpp62 …virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse& response) { m_response = … in didReceiveResponse() argument
63 …virtual void didReceiveData(ResourceHandle*, const char* data, int length, int) { m_data.append(da… in didReceiveData() argument
64 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/) {} in didFinishLoading() argument
65 virtual void didFail(ResourceHandle*, const ResourceError& error) { m_error = error; } in didFail() argument
76 ResourceHandle::~ResourceHandle() in ~ResourceHandle()
82 bool ResourceHandle::start(NetworkingContext* context) in start()
104 void ResourceHandle::cancel() in cancel()
112 bool ResourceHandle::loadsBlocked() in loadsBlocked()
117 bool ResourceHandle::willLoadFromCache(ResourceRequest& request, Frame* frame) in willLoadFromCache()
141 bool ResourceHandle::supportsBufferedData() in supportsBufferedData()
[all …]
/external/webkit/Source/WebCore/platform/network/cf/
DResourceHandleCFNet.cpp92 …virtual void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse& /*redirect…
93 virtual bool shouldUseCredentialStorage(ResourceHandle*);
94 virtual void didReceiveAuthenticationChallenge(ResourceHandle*, const AuthenticationChallenge&);
95 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
96 virtual void didReceiveData(ResourceHandle*, const char*, int, int /*encodedDataLength*/);
97 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
98 virtual void didFail(ResourceHandle*, const ResourceError&);
134 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); in willSendRequest()
186 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); in didReceiveResponse()
204 ResourceHandle* handle = static_cast<ResourceHandle*>(const_cast<void*>(clientInfo)); in didReceiveData()
[all …]
/external/webkit/Source/WebCore/platform/network/soup/
DResourceHandleSoup.cpp71 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
72 virtual void didReceiveData(ResourceHandle*, const char*, int, int encodedDataLength);
73 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
74 virtual void didFail(ResourceHandle*, const ResourceError&);
100 void WebCoreSynchronousLoader::didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
105 void WebCoreSynchronousLoader::didReceiveData(ResourceHandle*, const char* data, int length, int) in didReceiveData() argument
110 void WebCoreSynchronousLoader::didFinishLoading(ResourceHandle*, double) in didFinishLoading() argument
116 void WebCoreSynchronousLoader::didFail(ResourceHandle* handle, const ResourceError& error) in didFail()
128 static void cleanupSoupRequestOperation(ResourceHandle*, bool isDestroying);
132 static bool startNonHTTPRequest(ResourceHandle*, KURL);
[all …]
/external/webkit/Source/WebCore/loader/appcache/
DApplicationCacheGroup.h108 …PassRefPtr<ResourceHandle> createResourceHandle(const KURL&, ApplicationCacheResource* newestCache…
112 virtual bool shouldUseCredentialStorage(ResourceHandle*) { return true; } in shouldUseCredentialStorage() argument
114 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
115 virtual void didReceiveData(ResourceHandle*, const char*, int length, int encodedDataLength);
116 virtual void didFinishLoading(ResourceHandle*, double finishTime);
117 virtual void didFail(ResourceHandle*, const ResourceError&);
193 RefPtr<ResourceHandle> m_currentHandle;
201 RefPtr<ResourceHandle> m_manifestHandle;
/external/webkit/Source/WebKit/android/benchmark/
DIntercept.h39 class ResourceHandle; variable
50 ResourceHandle* handle, String url);
54 MyResourceLoader(ResourceHandle* handle, String url) in MyResourceLoader()
61 ResourceHandle* m_handle;
72 ResourceHandle* handle, const ResourceRequest& req, bool, bool);
/external/webkit/Source/WebCore/platform/network/mac/
DResourceHandleMac.mm64 ResourceHandle* m_handle;
66 - (id)initWithHandle:(ResourceHandle*)handle; argument
116 …virtual void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse& /*redirect…
117 virtual bool shouldUseCredentialStorage(ResourceHandle*);
118 virtual void didReceiveAuthenticationChallenge(ResourceHandle*, const AuthenticationChallenge&);
119 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
120 virtual void didReceiveData(ResourceHandle*, const char*, int, int /*encodedDataLength*/);
121 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
122 virtual void didFail(ResourceHandle*, const ResourceError&);
124 virtual bool canAuthenticateAgainstProtectionSpace(ResourceHandle*, const ProtectionSpace&);
[all …]
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitdownload.cpp65 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
66 virtual void didReceiveData(ResourceHandle*, const char*, int, int);
67 virtual void didFinishLoading(ResourceHandle*, double);
68 virtual void didFail(ResourceHandle*, const ResourceError&);
69 virtual void wasBlocked(ResourceHandle*);
70 virtual void cannotShowURL(ResourceHandle*);
86 RefPtr<ResourceHandle> resourceHandle;
419 …kit_download_new_with_handle(WebKitNetworkRequest* request, WebCore::ResourceHandle* handle, const… in webkit_download_new_with_handle()
492 …priv->resourceHandle = ResourceHandle::create(/* Null NetworkingContext */ NULL, core(priv->networ… in webkit_download_start()
925 void DownloadClient::didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
[all …]
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebUrlLoader.h42 …static PassRefPtr<WebUrlLoader> start(FrameLoaderClient* client, WebCore::ResourceHandle*, const W…
49 WebUrlLoader(WebFrame*, WebCore::ResourceHandle*, const WebCore::ResourceRequest&);
50 …static PassRefPtr<WebUrlLoader> create(WebFrame*, WebCore::ResourceHandle*, const WebCore::Resourc…
DWebUrlLoader.cpp37 WebUrlLoader::WebUrlLoader(WebFrame* webFrame, WebCore::ResourceHandle* resourceHandle, const WebCo… in WebUrlLoader()
47 PassRefPtr<WebUrlLoader> WebUrlLoader::start(FrameLoaderClient* client, WebCore::ResourceHandle* re… in start()
66 PassRefPtr<WebUrlLoader> WebUrlLoader::create(WebFrame* webFrame, WebCore::ResourceHandle* resource… in create()
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
DWebKitWebSourceGStreamer.cpp46 virtual void willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse&);
47 virtual void didReceiveResponse(ResourceHandle*, const ResourceResponse&);
48 virtual void didReceiveData(ResourceHandle*, const char*, int, int);
49 virtual void didFinishLoading(ResourceHandle*, double /*finishTime*/);
50 virtual void didFail(ResourceHandle*, const ResourceError&);
51 virtual void wasBlocked(ResourceHandle*);
52 virtual void cannotShowURL(ResourceHandle*);
67 RefPtr<ResourceHandle> resourceHandle;
449 priv->resourceHandle = ResourceHandle::create(context, request, priv->client, false, false); in webKitWebSrcStart()
711 void StreamingClient::willSendRequest(ResourceHandle*, ResourceRequest&, const ResourceResponse&) in willSendRequest() argument
[all …]

123456