#include "third_party/blink/public/platform/web_http_body.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "services/network/public/mojom/data_pipe_getter.mojom-blink.h"
#include "third_party/blink/public/mojom/blob/blob.mojom-blink.h"
#include "third_party/blink/renderer/platform/blob/blob_data.h"
#include "third_party/blink/renderer/platform/file_metadata.h"
#include "third_party/blink/renderer/platform/network/encoded_form_data.h"
#include "third_party/blink/renderer/platform/network/form_data_encoder.h"
#include "third_party/blink/renderer/platform/network/wrapped_data_pipe_getter.h"
#include "third_party/blink/renderer/platform/wtf/shared_buffer.h"
namespace blink {
void WebHTTPBody::Initialize() { … }
void WebHTTPBody::Reset() { … }
void WebHTTPBody::Assign(const WebHTTPBody& other) { … }
size_t WebHTTPBody::ElementCount() const { … }
bool WebHTTPBody::ElementAt(size_t index, Element& result) const { … }
void WebHTTPBody::AppendData(const WebData& data) { … }
void WebHTTPBody::AppendFileRange(
const WebString& file_path,
int64_t file_start,
int64_t file_length,
const std::optional<base::Time>& modification_time) { … }
void WebHTTPBody::AppendBlob(const WebString& uuid) { … }
void WebHTTPBody::AppendDataPipe(
CrossVariantMojoRemote<network::mojom::DataPipeGetterInterfaceBase>
data_pipe_getter) { … }
int64_t WebHTTPBody::Identifier() const { … }
void WebHTTPBody::SetIdentifier(int64_t identifier) { … }
void WebHTTPBody::SetUniqueBoundary() { … }
bool WebHTTPBody::ContainsPasswordData() const { … }
void WebHTTPBody::SetContainsPasswordData(bool contains_password_data) { … }
WebHTTPBody::WebHTTPBody(scoped_refptr<EncodedFormData> data)
: … { … }
WebHTTPBody& WebHTTPBody::operator=(scoped_refptr<EncodedFormData> data) { … }
operator scoped_refptr()
void WebHTTPBody::EnsureMutable() { … }
}