Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/fetch/
DResource.cpp268 …return WebCore::passesAccessControlCheck(m_response, resourceRequest().allowCookies() ? AllowStore… in passesAccessControlCheck()
273 if (m_response.isNull()) in isExpired()
283 double dateValue = m_response.date(); in currentAge()
285 double ageValue = m_response.age(); in currentAge()
295 if (m_response.url().isLocalFile()) in freshnessLifetime()
300 if (!m_response.url().protocolIsInHTTPFamily()) in freshnessLifetime()
304 double maxAgeValue = m_response.cacheControlMaxAge(); in freshnessLifetime()
307 double expiresValue = m_response.expires(); in freshnessLifetime()
308 double dateValue = m_response.date(); in freshnessLifetime()
312 double lastModifiedValue = m_response.lastModified(); in freshnessLifetime()
[all …]
DScriptResource.cpp65 return extractMIMETypeFromMediaType(m_response.httpHeaderField("Content-Type")).lower(); in mimeType()
89 …return parseContentTypeOptionsHeader(m_response.httpHeaderField("X-Content-Type-Options")) != Cont… in mimeTypeAllowedByNosniff()
DXSLStyleSheetResource.cpp56 …tyleSheetResourceClient*>(c)->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet); in didAddClient()
78 c->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet); in checkNotify()
DRawResource.cpp70 if (!m_response.isNull()) in didAddClient()
71 client->responseReceived(this, m_response); in didAddClient()
99 c->responseReceived(this, m_response); in responseReceived()
DCSSStyleSheetResource.cpp67 …yleSheetResourceClient*>(c)->setCSSStyleSheet(m_resourceRequest.url(), m_response.url(), m_decoder… in didAddClient()
106 …c->setCSSStyleSheet(m_resourceRequest.url(), m_response.url(), m_decoder->encoding().name(), this); in checkNotify()
DResource.h189 void setResponse(const ResourceResponse& response) { m_response = response; } in setResponse()
190 const ResourceResponse& response() const { return m_response; } in response()
314 ResourceResponse m_response; variable
DImageResource.cpp293 if (m_response.mimeType() == "image/svg+xml") { in createImage()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketHandshake.cpp312 m_response.setStatusCode(statusCode); in readServerHandshake()
313 m_response.setStatusText(statusText); in readServerHandshake()
353 return m_response.headerFields().get("sec-websocket-protocol"); in serverWebSocketProtocol()
358 return m_response.headerFields().get("set-cookie"); in serverSetCookie()
363 return m_response.headerFields().get("set-cookie2"); in serverSetCookie2()
368 return m_response.headerFields().get("upgrade"); in serverUpgrade()
373 return m_response.headerFields().get("connection"); in serverConnection()
378 return m_response.headerFields().get("sec-websocket-accept"); in serverWebSocketAccept()
388 return m_response; in serverHandshakeResponse()
478 m_response.clearHeaderFields(); in readHTTPHeaders()
[all …]
DWebSocketHandshake.h118 WebSocketHandshakeResponse m_response; variable
/external/chromium_org/third_party/WebKit/Source/core/loader/
DDocumentLoader.cpp113 ASSERT(isArchiveMIMEType(m_response.mimeType())); in mainResourceData()
308 if (isArchiveMIMEType(m_response.mimeType())) { in finishedLoading()
476 int statusCode = m_response.httpStatusCode(); in shouldContinueForResponse()
482 …if (contentDispositionType(m_response.httpHeaderField("Content-Disposition")) == ContentDispositio… in shouldContinueForResponse()
489 if (!canShowMIMEType(m_response.mimeType(), m_frame->page())) in shouldContinueForResponse()
493 …if (equalIgnoringCase("multipart/related", m_response.mimeType()) && !SchemeRegistry::shouldTreatU… in shouldContinueForResponse()
536 m_response = response; in responseReceived()
538 …if (isArchiveMIMEType(m_response.mimeType()) && m_mainResource->dataBufferingPolicy() != BufferDat… in responseReceived()
542 …ontext().dispatchDidReceiveResponse(this, m_identifierForLoadWithoutResourceLoader, m_response, 0); in responseReceived()
545 …Instrumentation::continueWithPolicyIgnore(m_frame, this, m_mainResource->identifier(), m_response); in responseReceived()
[all …]
DDocumentLoader.h115 const ResourceResponse& response() const { return m_response; } in response()
235 ResourceResponse m_response; variable
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequest.cpp249 if ((m_response.isHTTP() && !responseIsXML() && !isHTML) in responseXML()
288 String filePath = m_response.downloadedFilePath(); in responseBlob()
879 long long expectedLength = m_response.expectedContentLength(); in abort()
955 m_response = ResourceResponse(); in clearResponse()
1009 … return dispatchThrottledProgressEvent(type, m_receivedLength, m_response.expectedContentLength()); in dispatchThrottledProgressEventSnapshot()
1017 long long expectedLength = m_response.expectedContentLength(); in handleNetworkError()
1030 long long expectedLength = m_response.expectedContentLength(); in handleDidCancel()
1126 …parseAccessControlExposeHeadersAllowList(m_response.httpHeaderField("Access-Control-Expose-Headers… in getAllResponseHeaders()
1127 HTTPHeaderMap::const_iterator end = m_response.httpHeaderFields().end(); in getAllResponseHeaders()
1128 for (HTTPHeaderMap::const_iterator it = m_response.httpHeaderFields().begin(); it!= end; ++it) { in getAllResponseHeaders()
[all …]
DXMLHttpRequest.h228 ResourceResponse m_response; variable
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/
DArchiveResource.h48 const ResourceResponse& response() const { return m_response; } in response()
58 ResourceResponse m_response; variable
DArchiveResource.cpp36 , m_response(response) in ArchiveResource()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DMockWebRTCPeerConnectionHandler.cpp93 , m_response(response) in RTCStatsRequestSucceededTask()
99 m_request.requestSucceeded(m_response); in runIfValid()
104 blink::WebRTCStatsResponse m_response; member in WebTestRunner::RTCStatsRequestSucceededTask