Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(970)

Unified Diff: webkit/renderer/media/crypto/ppapi/fake_cdm_video_decoder.h

Issue 22362007: Relocate last remnants of webkit/renderer/media code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make chromeos crypto dep explicit. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/renderer/media/crypto/ppapi/fake_cdm_video_decoder.h
diff --git a/webkit/renderer/media/crypto/ppapi/fake_cdm_video_decoder.h b/webkit/renderer/media/crypto/ppapi/fake_cdm_video_decoder.h
deleted file mode 100644
index 7c110e2a3283d81e364ffa49e8cf95057457d322..0000000000000000000000000000000000000000
--- a/webkit/renderer/media/crypto/ppapi/fake_cdm_video_decoder.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2013 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 WEBKIT_RENDERER_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_
-#define WEBKIT_RENDERER_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "webkit/renderer/media/crypto/ppapi/cdm/content_decryption_module.h"
-#include "webkit/renderer/media/crypto/ppapi/cdm_video_decoder.h"
-
-namespace webkit_media {
-
-class FakeCdmVideoDecoder : public CdmVideoDecoder {
- public:
- explicit FakeCdmVideoDecoder(cdm::Allocator* allocator);
- virtual ~FakeCdmVideoDecoder();
-
- // CdmVideoDecoder implementation.
- virtual bool Initialize(const cdm::VideoDecoderConfig& config) OVERRIDE;
- virtual void Deinitialize() OVERRIDE;
- virtual void Reset() OVERRIDE;
- virtual cdm::Status DecodeFrame(const uint8_t* compressed_frame,
- int32_t compressed_frame_size,
- int64_t timestamp,
- cdm::VideoFrame* decoded_frame) OVERRIDE;
- virtual bool is_initialized() const OVERRIDE { return is_initialized_; }
-
- private:
- bool is_initialized_;
- cdm::Size video_size_;
-
- cdm::Host* const host_;
-
- DISALLOW_COPY_AND_ASSIGN(FakeCdmVideoDecoder);
-};
-
-} // namespace webkit_media
-
-#endif // WEBKIT_RENDERER_MEDIA_CRYPTO_PPAPI_FAKE_CDM_VIDEO_DECODER_H_
« no previous file with comments | « webkit/renderer/media/crypto/ppapi/clear_key_cdm.cc ('k') | webkit/renderer/media/crypto/ppapi/fake_cdm_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698