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

Unified Diff: content/common/gpu/media/media_service.h

Issue 1882373004: Migrate content/common/gpu/media code to media/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Squash and rebase Created 4 years, 8 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: content/common/gpu/media/media_service.h
diff --git a/content/common/gpu/media/media_service.h b/content/common/gpu/media/media_service.h
deleted file mode 100644
index 0d8d6499b031a8f2d34f8851dcae561a2233c105..0000000000000000000000000000000000000000
--- a/content/common/gpu/media/media_service.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2016 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_MEDIA_SERVICE_H_
-#define CONTENT_COMMON_GPU_MEDIA_MEDIA_SERVICE_H_
-
-#include <stdint.h>
-
-#include <memory>
-
-#include "base/containers/scoped_ptr_hash_map.h"
-#include "base/macros.h"
-#include "ipc/ipc_listener.h"
-#include "ipc/ipc_sender.h"
-#include "media/video/video_decode_accelerator.h"
-
-namespace gpu {
-class GpuChannel;
-class GpuChannelManager;
-}
-
-namespace content {
-
-class MediaChannel;
-
-class MediaService {
- public:
- MediaService(gpu::GpuChannelManager* channel_manager);
- ~MediaService();
-
- void AddChannel(int32_t client_id);
- void RemoveChannel(int32_t client_id);
- void DestroyAllChannels();
-
- private:
- gpu::GpuChannelManager* const channel_manager_;
- base::ScopedPtrHashMap<int32_t, std::unique_ptr<MediaChannel>>
- media_channels_;
- DISALLOW_COPY_AND_ASSIGN(MediaService);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_GPU_MEDIA_MEDIA_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698