Home
last modified time | relevance | path

Searched refs:m_response (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/WebKit/win/
DWebURLResponse.cpp231 …instance->m_response = ResourceResponse(KURL(ParsedURLString, "http://"), String(), 0, String(), S… in createInstance()
243 instance->m_response = response; in createInstance()
261 else if (m_response.isHTTP() && IsEqualGUID(riid, IID_IWebHTTPURLResponse)) in QueryInterface()
289 *result = m_response.expectedContentLength(); in expectedContentLength()
299m_response = ResourceResponse(MarshallingHelpers::BSTRToKURL(url), String(mimeType), expectedConte… in initWithURL()
306 BString mimeType(m_response.mimeType()); in MIMEType()
308 if (!m_response.mimeType().isNull() && !*result) in MIMEType()
324 if (m_response.url().isEmpty()) in suggestedFilename()
327 *result = BString(m_response.suggestedFilename()).release(); in suggestedFilename()
337 BString textEncodingName(m_response.textEncodingName()); in textEncodingName()
[all …]
DWebNavigationData.cpp69 , m_response(response) in WebNavigationData()
122 *response = m_response.get(); in response()
123 m_response->AddRef(); in response()
DWebNavigationData.h71 COMPtr<IWebURLResponse> m_response; variable
DWebURLResponse.h101 WebCore::ResourceResponse m_response; variable
/external/webkit/WebCore/loader/
DCachedResource.cpp120 if (m_response.isNull()) in isExpired()
130 double dateValue = m_response.date(); in currentAge()
132 double ageValue = m_response.age(); in currentAge()
141 if (!m_response.url().protocolInHTTPFamily()) in freshnessLifetime()
145 double maxAgeValue = m_response.cacheControlMaxAge(); in freshnessLifetime()
148 double expiresValue = m_response.expires(); in freshnessLifetime()
149 double dateValue = m_response.date(); in freshnessLifetime()
153 double lastModifiedValue = m_response.lastModified(); in freshnessLifetime()
162 m_response = response; in setResponse()
383 m_response.setHTTPHeaderField(it->first, it->second); in updateResponseAfterRevalidation()
[all …]
DSubstituteResource.h44 const ResourceResponse& response() const { return m_response; } in response()
50 , m_response(response) in SubstituteResource()
58 ResourceResponse m_response; variable
DMainResourceLoader.cpp281 continueAfterContentPolicy(policy, m_response); in continueAfterContentPolicy()
349 m_response = r; in didReceiveResponse()
366 …if (settings && settings->forceFTPDirectoryListings() && m_response.mimeType() == "application/x-f… in didReceiveResponse()
372 …frameLoader()->policyChecker()->checkContentPolicy(m_response.mimeType(), callContinueAfterContent… in didReceiveResponse()
380 ASSERT(!m_response.isNull()); in didReceiveData()
384 if (m_response.isNull()) { in didReceiveData()
385 m_response = ResourceResponse(KURL(), "text/html", 0, String(), String()); in didReceiveData()
387 documentLoader->setResponse(m_response); in didReceiveData()
DCachedXSLStyleSheet.cpp51 c->setXSLStyleSheet(m_url, m_response.url(), m_sheet); in didAddClient()
86 c->setXSLStyleSheet(m_url, m_response.url(), m_sheet); in checkNotify()
DCachedCSSStyleSheet.cpp55 c->setCSSStyleSheet(m_url, m_response.url(), m_decoder->encoding().name(), this); in didAddClient()
115 c->setCSSStyleSheet(m_url, m_response.url(), m_decoder->encoding().name(), this); in checkNotify()
DDocumentLoader.h104 const ResourceResponse& response() const { return m_response; } in response()
107 void setResponse(const ResourceResponse& response) { m_response = response; } in setResponse()
252 ResourceResponse m_response; variable
DDocumentLoader.cpp295 if (doesProgressiveLoad(m_response.mimeType())) in receivedData()
304 String oldMIMEType = m_response.mimeType(); in setupForReplaceByMIMEType()
633 return m_substituteData.isValid() || m_response.httpStatusCode() >= 400; in urlForHistoryReflectsFailure()
648 return m_response.url(); in responseURL()
653 return m_response.mimeType(); in responseMIMEType()
DResourceLoader.cpp238 m_response = r; in didReceiveResponse()
244 frameLoader()->notifier()->didReceiveResponse(this, m_response); in didReceiveResponse()
366 return m_response; in response()
DCachedResource.h144 const ResourceResponse& response() const { return m_response; } in response()
197 ResourceResponse m_response; variable
DCachedImage.cpp244 if (m_response.mimeType() == "application/pdf") { in createImage()
250 if (m_response.mimeType() == "image/svg+xml") { in createImage()
DResourceLoader.h140 ResourceResponse m_response; variable
/external/webkit/WebCore/platform/network/curl/
DResourceHandleManager.cpp165 d->m_response.setURL(KURL(ParsedURLString, hdr)); in handleLocalReceiveResponse()
167 d->client()->didReceiveResponse(job, d->m_response); in handleLocalReceiveResponse()
168 d->m_response.setResponseFired(true); in handleLocalReceiveResponse()
196 if (!d->m_response.responseFired()) { in writeCallback()
246 d->m_response.setExpectedContentLength(static_cast<long long int>(contentLength)); in headerCallback()
250 d->m_response.setURL(KURL(ParsedURLString, hdr)); in headerCallback()
254 d->m_response.setHTTPStatusCode(httpCode); in headerCallback()
256 …d->m_response.setMimeType(extractMIMETypeFromMediaType(d->m_response.httpHeaderField("Content-Type… in headerCallback()
257 …d->m_response.setTextEncodingName(extractCharsetFromMediaType(d->m_response.httpHeaderField("Conte… in headerCallback()
258 …d->m_response.setSuggestedFilename(filenameFromHTTPContentDisposition(d->m_response.httpHeaderFiel… in headerCallback()
[all …]
DResourceHandleCurl.cpp51 ResourceResponse resourceResponse() const { return m_response; } in resourceResponse()
56 ResourceResponse m_response; member in WebCore::WebCoreSynchronousLoader
67 m_response = response; in didReceiveResponse()
/external/webkit/WebCore/xml/
DXMLHttpRequest.cpp213 … if ((m_response.isHTTP() && !responseIsXML()) || scriptExecutionContext()->isWorkerContext()) { in responseXML()
582 m_response = ResourceResponse(); in clearResponse()
710 HTTPHeaderMap::const_iterator end = m_response.httpHeaderFields().end(); in getAllResponseHeaders()
711 for (HTTPHeaderMap::const_iterator it = m_response.httpHeaderFields().begin(); it!= end; ++it) { in getAllResponseHeaders()
752 return m_response.httpHeaderField(name); in getResponseHeader()
759 if (m_response.isHTTP()) in responseMIMEType()
760 mimeType = extractMIMETypeFromMediaType(m_response.httpHeaderField("Content-Type")); in responseMIMEType()
762 mimeType = m_response.mimeType(); in responseMIMEType()
777 if (m_response.httpStatusCode()) in status()
778 return m_response.httpStatusCode(); in status()
[all …]
/external/webkit/WebCore/platform/network/android/
DResourceHandleAndroid.cpp127 m_response = &response; in SyncLoader()
134 *m_response = response; in didReceiveResponse()
149 ResourceResponse* m_response; member in WebCore::SyncLoader
/external/webkit/WebCore/platform/network/qt/
DResourceHandleQt.cpp68 ResourceResponse resourceResponse() const { return m_response; } in resourceResponse()
73 ResourceResponse m_response; member in WebCore::WebCoreSynchronousLoader
85 m_response = response; in didReceiveResponse()
/external/webkit/WebCore/platform/network/soup/
DResourceHandleSoup.cpp74 ResourceResponse& m_response; member in WebCore::WebCoreSynchronousLoader
82 , m_response(response) in WebCoreSynchronousLoader()
96 m_response = response; in didReceiveResponse()
252 fillResponseFromMessage(msg, &d->m_response); in gotHeadersCallback()
253 client->didReceiveResponse(handle.get(), d->m_response); in gotHeadersCallback()
279 fillResponseFromMessage(msg, &d->m_response); in contentSniffedCallback()
280 client->didReceiveResponse(handle.get(), d->m_response); in contentSniffedCallback()
331 fillResponseFromMessage(msg, &d->m_response); in finishedCallback()
332 client->didReceiveResponse(handle.get(), d->m_response); in finishedCallback()
/external/webkit/WebCore/platform/network/
DResourceHandleInternal.h190 ResourceResponse m_response; variable
198 ResourceResponse m_response; variable
/external/webkit/WebCore/platform/network/cf/
DResourceHandleCFNet.cpp69 , m_response(response) in WebCoreSynchronousLoader()
89 ResourceResponse& m_response; member in WebCore::WebCoreSynchronousLoader
655 loader->m_response = cfResponse; in didReceiveResponse()
777 if (error.isNull() && loader.m_response.mimeType().isNull()) in load()
778 setDefaultMIMEType(loader.m_response.cfURLResponse()); in load()
/external/webkit/WebKit/wx/
DWebView.h455 wxString GetResponse() const { return m_response; } in DECLARE_DYNAMIC_CLASS()
456 void SetResponse(const wxString& response) { m_response = response; } in SetResponse()
462 wxString m_response;
/external/webkit/WebKit/qt/WebCoreSupport/
DFrameLoaderClientQt.cpp514 fl->setEncoding(m_response.textEncodingName(), false); in finishedLoading()
704 loader->frameLoader()->setEncoding(m_response.textEncodingName(), false); in setMainDocumentError()
721 fl->setEncoding(m_response.textEncodingName(), false); in committedLoad()
866 m_response = response; in dispatchDidReceiveResponse()
886 fl->setEncoding(m_response.textEncodingName(), false); in dispatchDidFailLoading()

12