#include "pdf/pdfium/pdfium_mem_buffer_file_write.h"
#include "base/compiler_specific.h"
namespace chrome_pdf {
PDFiumMemBufferFileWrite::PDFiumMemBufferFileWrite() { … }
PDFiumMemBufferFileWrite::~PDFiumMemBufferFileWrite() = default;
std::vector<uint8_t> PDFiumMemBufferFileWrite::TakeBuffer() { … }
int PDFiumMemBufferFileWrite::WriteBlockImpl(FPDF_FILEWRITE* this_file_write,
const void* data,
unsigned long size) { … }
int PDFiumMemBufferFileWrite::DoWriteBlock(const uint8_t* data,
unsigned long size) { … }
}