chromium/third_party/blink/renderer/core/loader/idleness_detector.cc

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

#include "third_party/blink/renderer/core/loader/idleness_detector.h"

#include "base/check.h"
#include "base/time/default_tick_clock.h"
#include "third_party/blink/public/platform/modules/service_worker/web_service_worker_network_provider.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/task_type.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/paint/timing/first_meaningful_paint_detector.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/blink/renderer/platform/instrumentation/resource_coordinator/document_resource_coordinator.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_fetcher.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"

namespace blink {

constexpr base::TimeDelta IdlenessDetector::kNetworkQuietWindow;
constexpr base::TimeDelta IdlenessDetector::kNetworkQuietWatchdog;

void IdlenessDetector::Shutdown() {}

void IdlenessDetector::WillCommitLoad() {}

void IdlenessDetector::DomContentLoadedEventFired() {}

void IdlenessDetector::DidDropNavigation() {}

void IdlenessDetector::Start() {}

void IdlenessDetector::OnWillSendRequest(ResourceFetcher* fetcher) {}

// This function is called when the number of active connections is decreased.
// Note that the number of active connections doesn't decrease monotonically.
void IdlenessDetector::OnDidLoadResource() {}

base::TimeTicks IdlenessDetector::GetNetworkAlmostIdleTime() {}

base::TimeTicks IdlenessDetector::GetNetworkIdleTime() {}

void IdlenessDetector::WillProcessTask(base::TimeTicks start_time) {}

void IdlenessDetector::DidProcessTask(base::TimeTicks start_time,
                                      base::TimeTicks end_time) {}

IdlenessDetector::IdlenessDetector(LocalFrame* local_frame,
                                   const base::TickClock* clock)
    :{}

void IdlenessDetector::Stop() {}

void IdlenessDetector::NetworkQuietTimerFired(TimerBase*) {}

void IdlenessDetector::Trace(Visitor* visitor) const {}

}  // namespace blink