blob: b6ad82b7b3bfe9e716b04303d9c9608b5ade1fcf [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_PRELOADING_PRERENDER_RESERVED_PRERENDER_HOST_INFO_H_
#define CONTENT_BROWSER_PRELOADING_PRERENDER_RESERVED_PRERENDER_HOST_INFO_H_
#include "content/public/browser/frame_tree_node_id.h"
#include "content/public/browser/preloading_trigger_type.h"
namespace content {
// Information about a reserved prerender host. This is used to pass information
// about the reserved host including information required for metrics
// collection.
struct ReservedPrerenderHostInfo {
ReservedPrerenderHostInfo(FrameTreeNodeId frame_tree_node_id,
PreloadingTriggerType trigger_type,
std::string embedder_histogram_suffix,
bool is_prerender_host_reused);
FrameTreeNodeId frame_tree_node_id;
PreloadingTriggerType trigger_type;
std::string embedder_histogram_suffix;
bool is_prerender_host_reused;
};
} // namespace content
#endif // CONTENT_BROWSER_PRELOADING_PRERENDER_RESERVED_PRERENDER_HOST_INFO_H_