/external/chromium_org/content/public/renderer/ |
D | history_item_serialization.cc | 57 WebHTTPBody* http_body) { in AppendHTTPBodyElement() argument 60 http_body->appendData(element.data); in AppendHTTPBodyElement() 63 http_body->appendFileRange( in AppendHTTPBodyElement() 70 http_body->appendFileSystemURLRange( in AppendHTTPBodyElement() 77 http_body->appendBlob(WebString::fromUTF8(element.blob_uuid)); in AppendHTTPBodyElement() 98 state->http_body.http_content_type = item.httpContentType(); in RecursivelyGenerateFrameState() 99 const WebHTTPBody& http_body = item.httpBody(); in RecursivelyGenerateFrameState() local 100 if (!(state->http_body.is_null = http_body.isNull())) { in RecursivelyGenerateFrameState() 101 state->http_body.identifier = http_body.identifier(); in RecursivelyGenerateFrameState() 102 state->http_body.elements.resize(http_body.elementCount()); in RecursivelyGenerateFrameState() [all …]
|
/external/chromium_org/content/common/ |
D | page_state_serialization.cc | 25 void AppendDataToHttpBody(ExplodedHttpBody* http_body, const char* data, in AppendDataToHttpBody() argument 30 http_body->elements.push_back(element); in AppendDataToHttpBody() 33 void AppendFileRangeToHttpBody(ExplodedHttpBody* http_body, in AppendFileRangeToHttpBody() argument 44 http_body->elements.push_back(element); in AppendFileRangeToHttpBody() 47 void AppendURLRangeToHttpBody(ExplodedHttpBody* http_body, in AppendURLRangeToHttpBody() argument 58 http_body->elements.push_back(element); in AppendURLRangeToHttpBody() 61 void AppendBlobToHttpBody(ExplodedHttpBody* http_body, in AppendBlobToHttpBody() argument 66 http_body->elements.push_back(element); in AppendBlobToHttpBody() 140 if (!frame_state.http_body.is_null) { in RecursivelyAppendReferencedFiles() 141 AppendReferencedFilesFromHttpBody(frame_state.http_body.elements, in RecursivelyAppendReferencedFiles() [all …]
|
D | page_state_serialization_unittest.cc | 80 ExpectEquality(a.http_body, b.http_body); in ExpectEquality() 111 void PopulateHttpBody(ExplodedHttpBody* http_body, in PopulateHttpBody() argument 113 http_body->is_null = false; in PopulateHttpBody() 114 http_body->identifier = 12345; in PopulateHttpBody() 115 http_body->contains_passwords = false; in PopulateHttpBody() 116 http_body->http_content_type = NS16("text/foo"); in PopulateHttpBody() 121 http_body->elements.push_back(e1); in PopulateHttpBody() 129 http_body->elements.push_back(e2); in PopulateHttpBody() 159 frame_state->http_body.http_content_type = NS16("foo/bar"); in PopulateFrameStateForBackwardsCompatTest() 160 frame_state->http_body.identifier = 789; in PopulateFrameStateForBackwardsCompatTest() [all …]
|
D | page_state_serialization.h | 55 ExplodedHttpBody http_body; member
|
/external/chromium_org/content/renderer/pepper/ |
D | url_request_info_util.cc | 54 WebHTTPBody *http_body) { in AppendFileRefToBody() argument 86 http_body->appendFileRange( in AppendFileRefToBody() 142 WebHTTPBody http_body; in CreateWebURLRequest() local 143 http_body.initialize(); in CreateWebURLRequest() 153 &http_body)) in CreateWebURLRequest() 158 http_body.appendData(WebData(item.data)); in CreateWebURLRequest() 161 dest->setHTTPBody(http_body); in CreateWebURLRequest()
|
/external/chromium/webkit/glue/ |
D | glue_serialize.cc | 225 static void WriteFormData(const WebHTTPBody& http_body, SerializeObject* obj) { in WriteFormData() argument 226 WriteBoolean(!http_body.isNull(), obj); in WriteFormData() 228 if (http_body.isNull()) in WriteFormData() 231 WriteInteger(static_cast<int>(http_body.elementCount()), obj); in WriteFormData() 233 for (size_t i = 0; http_body.elementAt(i, element); ++i) { in WriteFormData() 247 WriteInteger64(http_body.identifier(), obj); in WriteFormData() 260 WebHTTPBody http_body; in ReadFormData() local 261 http_body.initialize(); in ReadFormData() 270 http_body.appendData(WebData(static_cast<const char*>(data), length)); in ReadFormData() 281 http_body.appendFileRange(file_path, file_start, file_length, in ReadFormData() [all …]
|
D | glue_serialize_unittest.cc | 29 WebHTTPBody http_body; in MakeFormData() local 30 http_body.initialize(); in MakeFormData() 33 http_body.appendData(WebData(d1, sizeof(d1)-1)); in MakeFormData() 35 http_body.appendFile(WebString::fromUTF8("file.txt")); in MakeFormData() 38 http_body.appendData(WebData(d2, sizeof(d2)-1)); in MakeFormData() 40 return http_body; in MakeFormData()
|
/external/chromium_org/content/public/common/ |
D | page_state.cc | 39 if (state->http_body.contains_passwords) in RecursivelyRemovePasswordData() 40 state->http_body = ExplodedHttpBody(); in RecursivelyRemovePasswordData() 76 state.top.http_body.is_null = false; in CreateForTesting() 81 state.top.http_body.elements.push_back(element); in CreateForTesting() 88 state.top.http_body.elements.push_back(element); in CreateForTesting() 91 state.top.http_body.contains_passwords = in CreateForTesting()
|
/external/chromium_org/content/renderer/npapi/ |
D | webplugin_impl.cc | 609 WebHTTPBody http_body; in SetPostData() local 611 http_body.initialize(); in SetPostData() 612 http_body.appendData(WebData(&body[0], body.size())); in SetPostData() 614 request->setHTTPBody(http_body); in SetPostData()
|
/external/chromium_org/content/renderer/ |
D | render_view_impl.cc | 1497 WebHTTPBody http_body; in OnNavigate() local 1498 http_body.initialize(); in OnNavigate() 1504 http_body.appendData( in OnNavigate() 1506 request.setHTTPBody(http_body); in OnNavigate()
|