#include "services/network/shared_dictionary/shared_dictionary_in_memory.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
namespace network {
SharedDictionaryInMemory::SharedDictionaryInMemory(
scoped_refptr<net::IOBuffer> data,
size_t size,
const net::SHA256HashValue& sha256,
const std::string& id)
: … { … }
SharedDictionaryInMemory::~SharedDictionaryInMemory() = default;
int SharedDictionaryInMemory::ReadAll(base::OnceCallback<void(int)> callback) { … }
scoped_refptr<net::IOBuffer> SharedDictionaryInMemory::data() const { … }
size_t SharedDictionaryInMemory::size() const { … }
const net::SHA256HashValue& SharedDictionaryInMemory::hash() const { … }
const std::string& SharedDictionaryInMemory::id() const { … }
}