| Index: content/common/gpu/media/avda_state_provider.h
|
| diff --git a/content/common/gpu/media/avda_state_provider.h b/content/common/gpu/media/avda_state_provider.h
|
| deleted file mode 100644
|
| index e7dfac62deddbba916049457999dad72935d4881..0000000000000000000000000000000000000000
|
| --- a/content/common/gpu/media/avda_state_provider.h
|
| +++ /dev/null
|
| @@ -1,52 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_STATE_PROVIDER_H_
|
| -#define CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_STATE_PROVIDER_H_
|
| -
|
| -#include "base/compiler_specific.h"
|
| -#include "base/threading/thread_checker.h"
|
| -#include "content/common/content_export.h"
|
| -#include "gpu/command_buffer/service/texture_manager.h"
|
| -#include "media/video/video_decode_accelerator.h"
|
| -
|
| -namespace gfx {
|
| -class SurfaceTexture;
|
| -}
|
| -
|
| -namespace gpu {
|
| -namespace gles2 {
|
| -class GLES2Decoder;
|
| -}
|
| -}
|
| -
|
| -namespace media {
|
| -class VideoCodecBridge;
|
| -}
|
| -
|
| -namespace content {
|
| -
|
| -// Helper class that provides the BackingStrategy with enough state
|
| -// to do useful work.
|
| -class AVDAStateProvider {
|
| - public:
|
| - virtual ~AVDAStateProvider() {}
|
| -
|
| - // Various handy getters.
|
| - virtual const gfx::Size& GetSize() const = 0;
|
| - virtual const base::ThreadChecker& ThreadChecker() const = 0;
|
| - virtual base::WeakPtr<gpu::gles2::GLES2Decoder> GetGlDecoder() const = 0;
|
| - virtual gpu::gles2::TextureRef* GetTextureForPicture(
|
| - const media::PictureBuffer& picture_buffer) = 0;
|
| -
|
| - // Helper function to report an error condition and stop decoding.
|
| - // This will post NotifyError(), and transition to the error state.
|
| - // It is meant to be called from the RETURN_ON_FAILURE macro.
|
| - virtual void PostError(const ::tracked_objects::Location& from_here,
|
| - media::VideoDecodeAccelerator::Error error) = 0;
|
| -};
|
| -
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_STATE_PROVIDER_H_
|
|
|