#ifndef COMPONENTS_SERVICES_STORAGE_INDEXED_DB_SCOPES_LEVELDB_SCOPES_CODING_H_
#define COMPONENTS_SERVICES_STORAGE_INDEXED_DB_SCOPES_LEVELDB_SCOPES_CODING_H_
#include <stdint.h>
#include <limits>
#include <string>
#include <tuple>
#include "base/containers/span.h"
#include "third_party/leveldatabase/src/include/leveldb/slice.h"
namespace content {
namespace leveldb_scopes {
inline constexpr uint8_t kGlobalMetadataByte = …;
inline constexpr uint8_t kScopesMetadataByte = …;
inline constexpr uint8_t kLogByte = …;
inline constexpr uint8_t kUndoTasksByte = …;
inline constexpr uint8_t kCleanupTasksByte = …;
inline constexpr int64_t kMinSupportedVersion = …;
inline constexpr int64_t kCurrentVersion = …;
inline constexpr int64_t kFirstScopeNumber = …;
inline constexpr int64_t kFirstSequenceNumberToWrite = …;
std::tuple<bool , int64_t > ParseScopeMetadataId(
leveldb::Slice key,
base::span<const uint8_t> scopes_prefix);
std::string KeyToDebugString(base::span<const uint8_t> key_without_prefix);
}
class ScopesEncoder { … };
}
#endif