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

Unified Diff: content/common/gpu/media/media_channel.cc

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop ref to deleted content_tests_gypi_values.content_unittests_ozone_sources 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
« no previous file with comments | « content/common/gpu/media/media_channel.h ('k') | content/common/gpu/media/media_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/media_channel.cc
diff --git a/content/common/gpu/media/media_channel.cc b/content/common/gpu/media/media_channel.cc
index 82a28bcfff610624b175ceeaa7fd394132cc761a..7baeba075e4b46b02aa131f377456607aa8b2277 100644
--- a/content/common/gpu/media/media_channel.cc
+++ b/content/common/gpu/media/media_channel.cc
@@ -4,9 +4,9 @@
#include "content/common/gpu/media/media_channel.h"
-#include "content/common/gpu/gpu_channel.h"
#include "content/common/gpu/media/gpu_video_decode_accelerator.h"
#include "content/common/gpu/media/gpu_video_encode_accelerator.h"
+#include "gpu/ipc/service/gpu_channel.h"
#include "media/gpu/ipc/common/media_messages.h"
namespace content {
@@ -16,8 +16,8 @@ namespace {
void SendCreateJpegDecoderResult(
scoped_ptr<IPC::Message> reply_message,
scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
- base::WeakPtr<GpuChannel> channel,
- scoped_refptr<GpuChannelMessageFilter> filter,
+ base::WeakPtr<gpu::GpuChannel> channel,
+ scoped_refptr<gpu::GpuChannelMessageFilter> filter,
bool result) {
GpuChannelMsg_CreateJpegDecoder::WriteReplyParams(reply_message.get(),
result);
@@ -55,7 +55,7 @@ class MediaChannelDispatchHelper {
DISALLOW_COPY_AND_ASSIGN(MediaChannelDispatchHelper);
};
-MediaChannel::MediaChannel(GpuChannel* channel) : channel_(channel) {}
+MediaChannel::MediaChannel(gpu::GpuChannel* channel) : channel_(channel) {}
MediaChannel::~MediaChannel() {}
@@ -99,7 +99,7 @@ void MediaChannel::OnCreateVideoDecoder(
int32_t decoder_route_id,
IPC::Message* reply_message) {
TRACE_EVENT0("gpu", "MediaChannel::OnCreateVideoDecoder");
- GpuCommandBufferStub* stub =
+ gpu::GpuCommandBufferStub* stub =
channel_->LookupCommandBuffer(command_buffer_route_id);
if (!stub) {
reply_message->set_reply_error();
@@ -122,7 +122,7 @@ void MediaChannel::OnCreateVideoEncoder(
const media::CreateVideoEncoderParams& params,
IPC::Message* reply_message) {
TRACE_EVENT0("gpu", "MediaChannel::OnCreateVideoEncoder");
- GpuCommandBufferStub* stub =
+ gpu::GpuCommandBufferStub* stub =
channel_->LookupCommandBuffer(command_buffer_route_id);
if (!stub) {
reply_message->set_reply_error();
« no previous file with comments | « content/common/gpu/media/media_channel.h ('k') | content/common/gpu/media/media_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698