chromium/services/network/shared_dictionary/shared_dictionary_in_memory.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SERVICES_NETWORK_SHARED_DICTIONARY_SHARED_DICTIONARY_IN_MEMORY_H_
#define SERVICES_NETWORK_SHARED_DICTIONARY_SHARED_DICTIONARY_IN_MEMORY_H_

#include <string>

#include "net/base/hash_value.h"
#include "net/shared_dictionary/shared_dictionary.h"

namespace network {

// A SharedDictionary which can be obtained using
// SharedDictionaryStorageInMemory::GetDictionary(). All binary data is in the
// memory. So ReadAll() synchronously returns OK.
class SharedDictionaryInMemory : public net::SharedDictionary {};

}  // namespace network

#endif  // SERVICES_NETWORK_SHARED_DICTIONARY_SHARED_DICTIONARY_IN_MEMORY_H_