#include "components/page_load_metrics/browser/observers/ad_metrics/aggregate_frame_data.h"
#include "components/page_load_metrics/browser/observers/ad_metrics/frame_data_utils.h"
#include "components/page_load_metrics/common/page_load_metrics.mojom.h"
#include "content/public/browser/auction_result.h"
namespace page_load_metrics {
AggregateFrameData::AggregateFrameData() = default;
AggregateFrameData::~AggregateFrameData() = default;
void AggregateFrameData::UpdateCpuUsage(base::TimeTicks update_time,
base::TimeDelta update,
bool is_ad) { … }
void AggregateFrameData::UpdateFirstAdFCPSinceNavStart(
base::TimeDelta time_since_nav_start) { … }
void AggregateFrameData::OnAdAuctionComplete(bool is_server_auction,
bool is_on_device_auction,
content::AuctionResult result) { … }
void AggregateFrameData::ProcessResourceLoadInFrame(
const mojom::ResourceDataUpdatePtr& resource,
bool is_outermost_main_frame) { … }
void AggregateFrameData::AdjustAdBytes(int64_t unaccounted_ad_bytes,
ResourceMimeType mime_type,
bool is_outermost_main_frame) { … }
}