#include "third_party/blink/renderer/modules/indexeddb/idb_metadata.h"
#include <utility>
namespace blink {
constexpr int64_t IDBIndexMetadata::kInvalidId;
constexpr int64_t IDBObjectStoreMetadata::kInvalidId;
IDBIndexMetadata::IDBIndexMetadata() = default;
IDBIndexMetadata::IDBIndexMetadata(const String& name,
int64_t id,
const IDBKeyPath& key_path,
bool unique,
bool multi_entry)
: … { … }
scoped_refptr<IDBIndexMetadata> IDBIndexMetadata::Create() { … }
IDBObjectStoreMetadata::IDBObjectStoreMetadata() = default;
IDBObjectStoreMetadata::IDBObjectStoreMetadata(const String& name,
int64_t id,
const IDBKeyPath& key_path,
bool auto_increment,
int64_t max_index_id)
: … { … }
scoped_refptr<IDBObjectStoreMetadata> IDBObjectStoreMetadata::Create() { … }
scoped_refptr<IDBObjectStoreMetadata> IDBObjectStoreMetadata::CreateCopy()
const { … }
IDBDatabaseMetadata::IDBDatabaseMetadata()
: … { … }
IDBDatabaseMetadata::IDBDatabaseMetadata(const String& name,
int64_t id,
int64_t version,
int64_t max_object_store_id,
bool was_cold_open)
: … { … }
void IDBDatabaseMetadata::CopyFrom(const IDBDatabaseMetadata& metadata) { … }
}