chromium/media/base/cross_origin_data_source.h

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

#ifndef MEDIA_BASE_CROSS_ORIGIN_DATA_SOURCE_H_
#define MEDIA_BASE_CROSS_ORIGIN_DATA_SOURCE_H_

#include "media/base/data_source.h"
#include "media/base/media_export.h"

namespace media {

// This represents any type of DataSource which MAY make cross origin requests,
// as opposed to something like the "MemoryDataSource" which is only reading
// from an already-allocated block of data, and can't be cross origin at all.
class MEDIA_EXPORT CrossOriginDataSource : public DataSource {};

}  // namespace media

#endif  // MEDIA_BASE_CROSS_ORIGIN_DATA_SOURCE_H_