chromium/chrome/browser/web_applications/locks/partitioned_lock_id.h

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

#ifndef CHROME_BROWSER_WEB_APPLICATIONS_LOCKS_PARTITIONED_LOCK_ID_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_LOCKS_PARTITIONED_LOCK_ID_H_

#include <iosfwd>
#include <string>

namespace web_app {

struct PartitionedLockId {};

// Logging support.
std::ostream& operator<<(std::ostream& out, const PartitionedLockId& range);

bool operator<(const PartitionedLockId& x, const PartitionedLockId& y);
bool operator==(const PartitionedLockId& x, const PartitionedLockId& y);
bool operator!=(const PartitionedLockId& x, const PartitionedLockId& y);

}  // namespace web_app

#endif  // CHROME_BROWSER_WEB_APPLICATIONS_LOCKS_PARTITIONED_LOCK_ID_H_