chromium/third_party/blink/renderer/modules/presentation/presentation_availability_state.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/modules/presentation/presentation_availability_state.h"

#include "base/ranges/algorithm.h"
#include "third_party/blink/renderer/modules/presentation/presentation_availability_observer.h"

namespace blink {

PresentationAvailabilityState::PresentationAvailabilityState(
    mojom::blink::PresentationService* presentation_service)
    :{}

PresentationAvailabilityState::~PresentationAvailabilityState() = default;

void PresentationAvailabilityState::RequestAvailability(
    const Vector<KURL>& urls,
    PresentationAvailabilityCallbacks* callback) {}

void PresentationAvailabilityState::AddObserver(
    PresentationAvailabilityObserver* observer) {}

void PresentationAvailabilityState::RemoveObserver(
    PresentationAvailabilityObserver* observer) {}

void PresentationAvailabilityState::UpdateAvailability(
    const KURL& url,
    mojom::blink::ScreenAvailability availability) {}

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

void PresentationAvailabilityState::StartListeningToURL(const KURL& url) {}

void PresentationAvailabilityState::MaybeStopListeningToURL(const KURL& url) {}

mojom::blink::ScreenAvailability
PresentationAvailabilityState::GetScreenAvailability(
    const Vector<KURL>& urls) const {}

PresentationAvailabilityState::AvailabilityListener*
PresentationAvailabilityState::GetAvailabilityListener(
    const Vector<KURL>& urls) {}

void PresentationAvailabilityState::TryRemoveAvailabilityListener(
    AvailabilityListener* listener) {}

PresentationAvailabilityState::ListeningStatus*
PresentationAvailabilityState::GetListeningStatus(const KURL& url) const {}

PresentationAvailabilityState::AvailabilityListener::AvailabilityListener(
    const Vector<KURL>& availability_urls)
    :{}

PresentationAvailabilityState::AvailabilityListener::~AvailabilityListener() =
    default;

void PresentationAvailabilityState::AvailabilityListener::Trace(
    blink::Visitor* visitor) const {}

PresentationAvailabilityState::ListeningStatus::ListeningStatus(
    const KURL& availability_url)
    :{}

PresentationAvailabilityState::ListeningStatus::~ListeningStatus() = default;

}  // namespace blink