chromium/components/media_control/renderer/media_playback_options.cc

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

#include "components/media_control/renderer/media_playback_options.h"

#include <string>
#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "components/media_control/renderer/media_control_buildflags.h"
#include "content/public/renderer/render_frame.h"
#include "third_party/blink/public/common/associated_interfaces/associated_interface_registry.h"

#if BUILDFLAG(ENABLE_MEDIA_CONTROL_LOGGING_OVERRIDE)
#if !defined(DVLOG)
#error This file must be included after base/logging.h.
#endif
#undef DVLOG
#define DVLOG
#endif  // BUILDFLAG(ENABLE_MEDIA_CONTROL_LOGGING_OVERRIDE)

namespace media_control {

MediaPlaybackOptions::MediaPlaybackOptions(content::RenderFrame* render_frame)
    :{}

MediaPlaybackOptions::~MediaPlaybackOptions() {}

void MediaPlaybackOptions::OnDestruct() {}

bool MediaPlaybackOptions::RunWhenInForeground(base::OnceClosure closure) {}

void MediaPlaybackOptions::SetMediaLoadingBlocked(bool blocked) {}

void MediaPlaybackOptions::SetBackgroundVideoPlaybackEnabled(bool enabled) {}

void MediaPlaybackOptions::SetRendererType(content::mojom::RendererType type) {}

void MediaPlaybackOptions::OnMediaPlaybackOptionsAssociatedReceiver(
    mojo::PendingAssociatedReceiver<
        components::media_control::mojom::MediaPlaybackOptions> receiver) {}

}  // namespace media_control