chromium/components/performance_manager/graph/node_attached_data_unittest.cc

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

#include "components/performance_manager/public/graph/node_attached_data.h"

#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "components/performance_manager/graph/graph_impl.h"
#include "components/performance_manager/graph/page_node_impl.h"
#include "components/performance_manager/test_support/graph_test_harness.h"
#include "components/performance_manager/test_support/mock_graphs.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace performance_manager {

namespace {

// An implementation of map-stored user-data using the public interface.
class BarData : public ExternalNodeAttachedDataImpl<BarData> {};

// A second implementation, which should not be confused with BarData.
class FooData : public ExternalNodeAttachedDataImpl<FooData> {};

}  // namespace

NodeAttachedDataTest;

TEST_F(NodeAttachedDataTest, PublicNodeAttachedData) {}

}  // namespace performance_manager