chromium/third_party/ipcz/src/ipcz/sublink_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 IPCZ_SRC_IPCZ_SUBLINK_ID_H_
#define IPCZ_SRC_IPCZ_SUBLINK_ID_H_

#include <cstdint>
#include <ostream>

#include "ipcz/link_side.h"
#include "util/strong_alias.h"

namespace ipcz {

// Identifies a specific subsidiary link along a NodeLink. Each sublink is a
// path between a unique pair of Router instances, one on each linked node. New
// SublinkIds are allocated atomically by either side of the NodeLink.
SublinkId;

inline std::ostream& operator<<(std::ostream& stream, const SublinkId& id) {}

}  // namespace ipcz

#endif  // IPCZ_SRC_IPCZ_SUBLINK_ID_H_