chromium/third_party/ipcz/src/ipcz/application_object.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_APPLICATION_OBJECT_H_
#define IPCZ_SRC_IPCZ_APPLICATION_OBJECT_H_

#include <cstddef>
#include <cstdint>
#include <optional>

#include "ipcz/ipcz.h"
#include "ipcz/parcel_wrapper.h"
#include "third_party/abseil-cpp/absl/types/span.h"
#include "util/ref_counted.h"

namespace ipcz {

class NodeLink;

// ApplicationObject encapsulates an opaque object identifier along with
// serialization and destruction functions, as provided by an application via
// the Box() API. This serves as a thin wrapper to model strong owenership of
// the opaque object within ipcz.
class ApplicationObject {};

}  // namespace ipcz

#endif  // IPCZ_SRC_IPCZ_APPLICATION_OBJECT_H_