chromium/content/browser/renderer_host/visible_time_request_trigger.cc

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

#include "content/browser/renderer_host/visible_time_request_trigger.h"

#include <algorithm>
#include <utility>

#include "base/time/time.h"
#include "third_party/blink/public/mojom/widget/record_content_to_visible_time_request.mojom.h"

namespace content {

VisibleTimeRequestTrigger::VisibleTimeRequestTrigger() = default;

VisibleTimeRequestTrigger::~VisibleTimeRequestTrigger() = default;

// static
blink::mojom::RecordContentToVisibleTimeRequestPtr
VisibleTimeRequestTrigger::ConsumeAndMergeRequests(
    blink::mojom::RecordContentToVisibleTimeRequestPtr request1,
    blink::mojom::RecordContentToVisibleTimeRequestPtr request2) {}

void VisibleTimeRequestTrigger::UpdateRequest(
    base::TimeTicks start_time,
    bool destination_is_loaded,
    bool show_reason_tab_switching,
    bool show_reason_bfcache_restore) {}

blink::mojom::RecordContentToVisibleTimeRequestPtr
VisibleTimeRequestTrigger::TakeRequest() {}

}  // namespace content