// Copyright 2011 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_FILTERS_IN_MEMORY_URL_PROTOCOL_H_ #define MEDIA_FILTERS_IN_MEMORY_URL_PROTOCOL_H_ #include <stdint.h> #include "base/compiler_specific.h" #include "base/memory/raw_ptr.h" #include "media/filters/ffmpeg_glue.h" namespace media { // Simple FFmpegURLProtocol that reads from a buffer. // NOTE: This object does not copy the buffer so the // buffer pointer passed into the constructor // needs to remain valid for the entire lifetime of // this object. class MEDIA_EXPORT InMemoryUrlProtocol : public FFmpegURLProtocol { … }; } // namespace media #endif // MEDIA_FILTERS_IN_MEMORY_URL_PROTOCOL_H_