#include "third_party/blink/renderer/platform/instrumentation/resource_coordinator/document_resource_coordinator.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
namespace blink {
std::unique_ptr<DocumentResourceCoordinator>
DocumentResourceCoordinator::MaybeCreate(
const BrowserInterfaceBrokerProxy& interface_broker) { … }
DocumentResourceCoordinator::DocumentResourceCoordinator(
const BrowserInterfaceBrokerProxy& interface_broker) { … }
DocumentResourceCoordinator::~DocumentResourceCoordinator() = default;
void DocumentResourceCoordinator::SetNetworkAlmostIdle() { … }
void DocumentResourceCoordinator::SetLifecycleState(
performance_manager::mojom::LifecycleState state) { … }
void DocumentResourceCoordinator::SetHasNonEmptyBeforeUnload(
bool has_nonempty_beforeunload) { … }
void DocumentResourceCoordinator::SetIsAdFrame(bool is_ad_frame) { … }
void DocumentResourceCoordinator::OnNonPersistentNotificationCreated() { … }
void DocumentResourceCoordinator::SetHadFormInteraction() { … }
void DocumentResourceCoordinator::SetHadUserEdits() { … }
void DocumentResourceCoordinator::OnStartedUsingWebRTC() { … }
void DocumentResourceCoordinator::OnStoppedUsingWebRTC() { … }
void DocumentResourceCoordinator::OnFirstContentfulPaint(
base::TimeDelta time_since_navigation_start) { … }
void DocumentResourceCoordinator::OnWebMemoryMeasurementRequested(
WebMemoryMeasurementMode mode,
OnWebMemoryMeasurementRequestedCallback callback) { … }
}