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

/*
 * Copyright (C) 2011 Google, Inc. All Rights Reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL GOOGLE INC. OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

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

#include "base/memory/scoped_refptr.h"
#include "base/time/default_clock.h"
#include "base/time/default_tick_clock.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/inspector/identifiers_factory.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
#include "third_party/blink/renderer/platform/weborigin/security_origin.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

namespace blink {

DocumentLoadTiming::DocumentLoadTiming(DocumentLoader& document_loader)
    :{}

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

void DocumentLoadTiming::SetTickClockForTesting(
    const base::TickClock* tick_clock) {}

void DocumentLoadTiming::SetClockForTesting(const base::Clock* clock) {}

// TODO(csharrison): Remove the null checking logic in a later patch.
LocalFrame* DocumentLoadTiming::GetFrame() const {}

void DocumentLoadTiming::NotifyDocumentTimingChanged() {}

void DocumentLoadTiming::EnsureReferenceTimesSet() {}

base::TimeDelta DocumentLoadTiming::MonotonicTimeToZeroBasedDocumentTime(
    base::TimeTicks monotonic_time) const {}

int64_t DocumentLoadTiming::ZeroBasedDocumentTimeToMonotonicTime(
    double dom_event_time) const {}

base::TimeDelta DocumentLoadTiming::MonotonicTimeToPseudoWallTime(
    base::TimeTicks monotonic_time) const {}

void DocumentLoadTiming::MarkNavigationStart() {}

void DocumentLoadTiming::WriteNavigationStartDataIntoTracedValue(
    perfetto::TracedValue context) const {}

void DocumentLoadTiming::SetNavigationStart(base::TimeTicks navigation_start) {}

void DocumentLoadTiming::SetBackForwardCacheRestoreNavigationStart(
    base::TimeTicks navigation_start) {}

void DocumentLoadTiming::SetInputStart(base::TimeTicks input_start) {}

void DocumentLoadTiming::SetUserTimingMarkFullyLoaded(
    base::TimeDelta loaded_time) {}

void DocumentLoadTiming::SetUserTimingMarkFullyVisible(
    base::TimeDelta visible_time) {}

void DocumentLoadTiming::SetUserTimingMarkInteractive(
    base::TimeDelta interactive_time) {}

void DocumentLoadTiming::NotifyCustomUserTimingMarkAdded(
    const AtomicString& mark_name,
    const base::TimeDelta& start_time) {}

void DocumentLoadTiming::AddRedirect(const KURL& redirecting_url,
                                     const KURL& redirected_url) {}

void DocumentLoadTiming::SetRedirectStart(base::TimeTicks redirect_start) {}

void DocumentLoadTiming::SetRedirectEnd(base::TimeTicks redirect_end) {}

void DocumentLoadTiming::SetUnloadEventStart(base::TimeTicks start_time) {}

void DocumentLoadTiming::SetUnloadEventEnd(base::TimeTicks end_time) {}

void DocumentLoadTiming::MarkFetchStart() {}

void DocumentLoadTiming::SetFetchStart(base::TimeTicks fetch_start) {}

void DocumentLoadTiming::SetResponseEnd(base::TimeTicks response_end) {}

void DocumentLoadTiming::MarkLoadEventStart() {}

void DocumentLoadTiming::MarkLoadEventEnd() {}

void DocumentLoadTiming::MarkRedirectEnd() {}

void DocumentLoadTiming::MarkCommitNavigationEnd() {}

void DocumentLoadTiming::SetActivationStart(base::TimeTicks activation_start) {}

void DocumentLoadTiming::SetCriticalCHRestart(
    base::TimeTicks critical_ch_restart) {}

}  // namespace blink