chromium/components/performance_manager/public/graph/node_set_view.h

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

#ifndef COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_GRAPH_NODE_SET_VIEW_H_
#define COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_GRAPH_NODE_SET_VIEW_H_

#include <iterator>
#include <type_traits>
#include <vector>

#include "base/memory/raw_ref.h"
#include "base/notreached.h"
#include "components/performance_manager/public/graph/node.h"

namespace performance_manager {

// A view over a NodeSet. Provides an iterable view where elements are casted to
// the requested type using NodeView::FromNode.
template <class UnderlyingSet, class NodeViewPtr>
class NodeSetView {};

}  // namespace performance_manager

#endif  // COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_GRAPH_NODE_SET_VIEW_H_