chromium/components/performance_manager/decorators/site_data_node_data.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_DECORATORS_SITE_DATA_NODE_DATA_H_
#define COMPONENTS_PERFORMANCE_MANAGER_DECORATORS_SITE_DATA_NODE_DATA_H_

#include <memory>

#include "base/memory/raw_ptr.h"
#include "base/sequence_checker.h"
#include "base/time/time.h"
#include "components/performance_manager/graph/node_inline_data.h"
#include "components/performance_manager/public/decorators/site_data_recorder.h"

class GURL;

namespace performance_manager {

class PageNodeImpl;
class SiteDataCache;
class SiteDataReader;
class SiteDataWriter;
class SiteDataRecorder;

// NodeAttachedData used to adorn every page node with a SiteDataWriter.
class SiteDataNodeData : public SiteDataRecorder::Data,
                         public SparseNodeInlineData<SiteDataNodeData> {};

}  // namespace performance_manager

#endif  // COMPONENTS_PERFORMANCE_MANAGER_DECORATORS_SITE_DATA_NODE_DATA_H_