Home
last modified time | relevance | path

Searched refs:httpBody (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequest.cpp661 RefPtr<FormData> httpBody; in send() local
674 httpBody = FormData::create(UTF8Encoding().encode(body, WTF::EntitiesForUnencodables)); in send()
676 httpBody->setAlwaysStream(true); in send()
679 createRequest(httpBody.release(), exceptionState); in send()
689 RefPtr<FormData> httpBody; in send() local
700 httpBody = FormData::create(UTF8Encoding().encode(body, WTF::EntitiesForUnencodables)); in send()
702 httpBody->setAlwaysStream(true); in send()
705 createRequest(httpBody.release(), exceptionState); in send()
715 RefPtr<FormData> httpBody; in send() local
730 httpBody = FormData::create(); in send()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DXSSAuditorDelegate.cpp87 String httpBody; in generateViolationReport() local
89 if (FormData* formData = frameLoader.documentLoader()->originalRequest().httpBody()) in generateViolationReport()
90 httpBody = formData->flattenToString(); in generateViolationReport()
95 reportDetails->setString("request-body", httpBody); in generateViolationReport()
DXSSAuditor.cpp359 FormData* httpBody = documentLoader->request().httpBody(); in init() local
360 if (httpBody && !httpBody->isEmpty()) in init()
361 m_httpBodyAsString = httpBody->flattenToString(); in init()
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DRequestInit.cpp53 RefPtr<FormData> httpBody = domFormData->createMultiPartFormData(); in RequestInit() local
54 for (size_t i = 0; i < httpBody->elements().size(); ++i) { in RequestInit()
55 const FormDataElement& element = httpBody->elements()[i]; in RequestInit()
75 …"multipart/form-data; boundary=", AtomicString::ConstructFromLiteral) + httpBody->boundary().data(… in RequestInit()
DFetchManager.cpp280 RefPtr<FormData> httpBody(FormData::create()); in performHTTPFetch() local
281 httpBody->appendBlob(blobDataHandle->uuid(), blobDataHandle); in performHTTPFetch()
282 request.setHTTPBody(httpBody); in performHTTPFetch()
/external/chromium_org/third_party/WebKit/Source/platform/network/
DResourceRequest.cpp232 FormData* ResourceRequest::httpBody() const in httpBody() function in blink::ResourceRequest
237 void ResourceRequest::setHTTPBody(PassRefPtr<FormData> httpBody) in setHTTPBody() argument
239 m_httpBody = httpBody; in setHTTPBody()
308 FormData* formDataA = a.httpBody(); in equalIgnoringHeaderFields()
309 FormData* formDataB = b.httpBody(); in equalIgnoringHeaderFields()
DResourceRequestTest.cpp51 EXPECT_STREQ("Test Body", original.httpBody()->flattenToString().utf8().data()); in TEST()
75 EXPECT_STREQ("Test Body", copy1->httpBody()->flattenToString().utf8().data()); in TEST()
DResourceRequest.h137 FormData* httpBody() const;
138 void setHTTPBody(PassRefPtr<FormData> httpBody);
/external/chromium_org/third_party/WebKit/Source/web/
DWebHistoryItem.cpp192 WebHTTPBody WebHistoryItem::httpBody() const in httpBody() function in blink::WebHistoryItem
197 void WebHistoryItem::setHTTPBody(const WebHTTPBody& httpBody) in setHTTPBody() argument
199 m_private->setFormData(httpBody); in setHTTPBody()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebURLRequest.cpp195 WebHTTPBody WebURLRequest::httpBody() const in httpBody() function in blink::WebURLRequest
197 return WebHTTPBody(m_private->m_resourceRequest->httpBody()); in httpBody()
200 void WebURLRequest::setHTTPBody(const WebHTTPBody& httpBody) in setHTTPBody() argument
202 m_private->m_resourceRequest->setHTTPBody(httpBody); in setHTTPBody()
/external/chromium_org/mojo/services/html_viewer/
Dblink_url_request_type_converters.cc54 if (request.httpBody().isNull()) in AddRequestBody()
59 while (request.httpBody().elementAt(i++, element)) { in AddRequestBody()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DRawResource.cpp163 if (m_resourceRequest.httpBody() != newRequest.httpBody()) in canReuse()
/external/chromium_org/content/child/
Dweb_url_loader_impl.cc405 if (!request.httpBody().isNull()) { in Start()
408 const WebHTTPBody& httpBody = request.httpBody(); in Start() local
412 while (httpBody.elementAt(i++, element)) { in Start()
452 request_body->set_identifier(request.httpBody().identifier()); in Start()
498 new_request.setHTTPBody(request_.httpBody()); in OnReceivedRedirect()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DNavigationAction.cpp62 m_type = navigationType(frameLoadType, isFormSubmission || resourceRequest.httpBody(), event); in NavigationAction()
DHistoryItem.cpp188 m_formData = request.httpBody(); in setFormInfoFromRequest()
/external/chromium_org/third_party/WebKit/public/web/
DWebHistoryItem.h113 BLINK_EXPORT WebHTTPBody httpBody() const;
/external/chromium_org/content/renderer/fetchers/
Dresource_fetcher_impl.cc89 if (!request_.httpBody().isNull()) in Start()
/external/chromium_org/third_party/WebKit/public/platform/
DWebURLRequest.h166 BLINK_PLATFORM_EXPORT WebHTTPBody httpBody() const;
/external/chromium_org/content/renderer/npapi/
Dwebplugin_impl_unittest.cc30 const WebHTTPBody& body = request.httpBody(); in GetBodyText()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorResourceAgent.cpp231 if (request.httpBody() && !request.httpBody()->isEmpty()) { in buildObjectForResourceRequest()
233 request.httpBody()->flatten(bytes); in buildObjectForResourceRequest()
/external/chromium_org/content/renderer/
Dhistory_serialization.cc103 const WebHTTPBody& http_body = item.httpBody(); in GenerateFrameStateFromItem()
Drender_frame_impl.cc212 if (item.httpBody().isNull()) in ExtractPostId()
215 return item.httpBody().identifier(); in ExtractPostId()
Drender_view_browsertest.cc397 blink::WebHTTPBody body = entry->root().httpBody(); in TEST_F()