blob: 44a58527510a45558d6f47b5d68e1385204899c8 [file] [log] [blame]
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_INDEXEDDB_WEB_IDB_NAME_AND_VERSION_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_INDEXEDDB_WEB_IDB_NAME_AND_VERSION_H_
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
struct WebIDBNameAndVersion {
enum { kNoVersion = -1 };
String name;
int64_t version;
WebIDBNameAndVersion() : version(kNoVersion) {}
WebIDBNameAndVersion(String name, int64_t version)
: name(std::move(name)), version(version) {}
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_MODULES_INDEXEDDB_WEB_IDB_NAME_AND_VERSION_H_