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

Unified Diff: chromecast/common/media/shared_memory_chunk.h

Issue 2300993003: CmaRenderer is dead. Long live MojoRenderer. (Closed)
Patch Set: update OWNERS file Created 4 years, 3 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
« no previous file with comments | « chromecast/common/media/cma_param_traits_macros.h ('k') | chromecast/common/media/shared_memory_chunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/media/shared_memory_chunk.h
diff --git a/chromecast/common/media/shared_memory_chunk.h b/chromecast/common/media/shared_memory_chunk.h
deleted file mode 100644
index f68f707a05174628a9e1d3b2f48a12c6a050eb2e..0000000000000000000000000000000000000000
--- a/chromecast/common/media/shared_memory_chunk.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 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 CHROMECAST_COMMON_MEDIA_SHARED_MEMORY_CHUNK_H_
-#define CHROMECAST_COMMON_MEDIA_SHARED_MEMORY_CHUNK_H_
-
-#include <stddef.h>
-
-#include <memory>
-
-#include "base/macros.h"
-#include "chromecast/media/cma/ipc/media_memory_chunk.h"
-
-namespace base {
-class SharedMemory;
-}
-
-namespace chromecast {
-namespace media {
-
-class SharedMemoryChunk : public MediaMemoryChunk {
- public:
- SharedMemoryChunk(std::unique_ptr<base::SharedMemory> shared_mem,
- size_t size);
- ~SharedMemoryChunk() override;
-
- // MediaMemoryChunk implementation.
- void* data() const override;
- size_t size() const override;
- bool valid() const override;
-
- private:
- std::unique_ptr<base::SharedMemory> shared_mem_;
- size_t size_;
-
- DISALLOW_COPY_AND_ASSIGN(SharedMemoryChunk);
-};
-
-} // namespace media
-} // namespace chromecast
-
-#endif // CHROMECAST_COMMON_MEDIA_SHARED_MEMORY_CHUNK_H_
« no previous file with comments | « chromecast/common/media/cma_param_traits_macros.h ('k') | chromecast/common/media/shared_memory_chunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698