Home
last modified time | relevance | path

Searched refs:formData (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/
DFormDataList.cpp65 void FormDataList::appendKeyValuePairItemsTo(FormData* formData, const WTF::TextEncoding& encoding,… in appendKeyValuePairItemsTo() argument
68 formData->setBoundary(FormDataBuilder::generateUniqueBoundaryString()); in appendKeyValuePairItemsTo()
80 FormDataBuilder::beginMultiPartHeader(header, formData->boundary().data(), key.data()); in appendKeyValuePairItemsTo()
116 formData->appendData(header.data(), header.size()); in appendKeyValuePairItemsTo()
122 formData->appendFile(file->path()); in appendKeyValuePairItemsTo()
124 formData->appendFileSystemURL(file->fileSystemURL()); in appendKeyValuePairItemsTo()
126 formData->appendBlob(value.blob()->uuid(), value.blob()->blobDataHandle()); in appendKeyValuePairItemsTo()
129 formData->appendData(value.data().data(), value.data().length()); in appendKeyValuePairItemsTo()
131 formData->appendData("\r\n", 2); in appendKeyValuePairItemsTo()
143 … FormDataBuilder::addBoundaryToMultiPartHeader(encodedData, formData->boundary().data(), true); in appendKeyValuePairItemsTo()
[all …]
DHTMLButtonElement.cpp177 bool HTMLButtonElement::appendFormData(FormDataList& formData, bool) in appendFormData() argument
181 formData.appendData(name(), value()); in appendFormData()
/external/chromium_org/third_party/WebKit/Source/platform/network/
DFormData.cpp85 RefPtr<FormData> formData(create()); in deepCopy() local
87 formData->m_alwaysStream = m_alwaysStream; in deepCopy()
90 formData->m_elements.reserveInitialCapacity(n); in deepCopy()
95 formData->m_elements.uncheckedAppend(FormDataElement(e.m_data)); in deepCopy()
98formData->m_elements.uncheckedAppend(FormDataElement(e.m_filename, e.m_fileStart, e.m_fileLength, … in deepCopy()
101formData->m_elements.uncheckedAppend(FormDataElement(e.m_blobUUID, e.m_optionalBlobDataHandle)); in deepCopy()
104formData->m_elements.uncheckedAppend(FormDataElement(e.m_fileSystemURL, e.m_fileStart, e.m_fileLen… in deepCopy()
108 return formData.release(); in deepCopy()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DFormSubmission.cpp224 RefPtr<FormData> formData; in create() local
228 formData = domFormData->createMultiPartFormData(domFormData->encoding()); in create()
229 boundary = formData->boundary().data(); in create()
231formData = domFormData->createFormData(domFormData->encoding(), attributes.method() == GetMethod ?… in create()
234 appendMailtoPostFormDataToURL(actionURL, *formData, encodingType); in create()
235 formData = FormData::create(); in create()
239 formData->setIdentifier(generateFormDataIdentifier()); in create()
240 formData->setContainsPasswordData(containsPasswordData); in create()
243 …od(), actionURL, targetOrBaseTarget, encodingType, formState.release(), formData.release(), bounda… in create()
DFrameLoader.cpp1475 RefPtr<FormData> formData = item->formData(); in loadHistoryItem() local
1478 if (formData) { in loadHistoryItem()
1480 request.setHTTPBody(formData); in loadHistoryItem()
1486 …loadWithNavigationAction(NavigationAction(request, FrameLoadTypeBackForward, formData), FrameLoadT… in loadHistoryItem()
/external/chromium_org/third_party/WebKit/Source/web/
DWebHistoryItem.cpp53 const FormData* formData = item->formData(); in addReferencedFilePaths() local
54 if (formData) { in addReferencedFilePaths()
55 for (size_t i = 0; i < formData->elements().size(); ++i) { in addReferencedFilePaths()
56 const FormDataElement& element = formData->elements()[i]; in addReferencedFilePaths()
226 return WebHTTPBody(m_private->formData()); in httpBody()
DWebSearchableFormData.cpp291 RefPtr<FormData> formData = FormData::create(encodedString); in WebSearchableFormData() local
292 url.setQuery(formData->flattenToString()); in WebSearchableFormData()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DRequestHeadersView.js181 var formData = this._request.requestFormData;
182 if (!formData)
188 …this._refreshParams(WebInspector.UIString("Form Data"), formParameters, formData, this._formDataTr…
192 var json = JSON.parse(formData);
193 this._refreshRequestJSONPayload(json, formData);
195 this._populateTreeElementWithSourceText(this._requestPayloadTreeElement, formData);
/external/chromium_org/third_party/WebKit/Source/core/history/
DHistoryItem.cpp240 void HistoryItem::setFormData(PassRefPtr<FormData> formData) in setFormData() argument
242 m_formData = formData; in setFormData()
250 FormData* HistoryItem::formData() in formData() function in WebCore::HistoryItem
DHistoryItem.h65 FormData* formData();
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DXSSAuditorDelegate.cpp83 if (FormData* formData = frameLoader.documentLoader()->originalRequest().httpBody()) in generateViolationReport() local
84 httpBody = formData->flattenToString(); in generateViolationReport()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DNetworkResourcesData.cpp48 …AtomicString& method, const KURL& url, bool async, PassRefPtr<FormData> formData, bool includeCred… in create() argument
50 return adoptRef(new XHRReplayData(method, url, async, formData, includeCredentials)); in create()
58 …AtomicString& method, const KURL& url, bool async, PassRefPtr<FormData> formData, bool includeCred… in XHRReplayData() argument
62 , m_formData(formData) in XHRReplayData()
DNetworkResourcesData.h58 PassRefPtr<FormData> formData() const { return m_formData; } in formData() function
DInspectorResourceAgent.cpp442 …AtomicString& method, const KURL& url, bool async, PassRefPtr<FormData> formData, const HTTPHeader… in willLoadXHR() argument
444 …layData = XHRReplayData::create(method, urlWithoutFragment(url), async, formData, includeCredentia… in willLoadXHR()
665 xhr->sendForInspectorXHRReplay(xhrReplayData->formData(), IGNORE_EXCEPTION); in replayXHR()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequest.cpp766 void XMLHttpRequest::sendForInspectorXHRReplay(PassRefPtr<FormData> formData, ExceptionState& excep… in sendForInspectorXHRReplay() argument
768 m_requestEntityBody = formData ? formData->deepCopy() : 0; in sendForInspectorXHRReplay()