#include "chrome/browser/apps/platform_apps/api/media_galleries/blob_data_source_factory.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/blob_reader.h"
#include "mojo/public/cpp/bindings/receiver.h"
namespace chrome_apps {
namespace api {
namespace {
class BlobMediaDataSource : public chrome::mojom::MediaDataSource { … };
}
BlobDataSourceFactory::BlobDataSourceFactory(
content::BrowserContext* browser_context,
const std::string& blob_uuid)
: … { … }
BlobDataSourceFactory::~BlobDataSourceFactory() = default;
std::unique_ptr<chrome::mojom::MediaDataSource>
BlobDataSourceFactory::CreateMediaDataSource(
mojo::PendingReceiver<chrome::mojom::MediaDataSource> receiver,
MediaDataCallback media_data_callback) { … }
}
}