#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "services/network/shared_dictionary/shared_dictionary_writer_in_memory.h"
#include <limits>
#include "base/metrics/histogram_functions.h"
#include "base/numerics/checked_math.h"
#include "net/base/hash_value.h"
#include "net/base/io_buffer.h"
#include "services/network/shared_dictionary/shared_dictionary_constants.h"
namespace network {
SharedDictionaryWriterInMemory::SharedDictionaryWriterInMemory(
FinishCallback finish_callback)
: … { … }
SharedDictionaryWriterInMemory::~SharedDictionaryWriterInMemory() { … }
void SharedDictionaryWriterInMemory::Append(const char* buf, int num_bytes) { … }
void SharedDictionaryWriterInMemory::Finish() { … }
}