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

Unified Diff: content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h

Issue 1827123002: Move content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 9 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/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
diff --git a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
index 554cb10461422a13f9782a7f3382dc285695f235..71636b053c0162de584eb81b6f39189fe4645aef 100644
--- a/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
+++ b/content/browser/renderer_host/media/video_capture_gpu_jpeg_decoder.h
@@ -21,12 +21,15 @@
#include "media/capture/video/video_capture_device.h"
#include "media/video/jpeg_decode_accelerator.h"
+namespace gpu {
+class GpuChannelHost;
+}
+
namespace media {
class VideoFrame;
}
namespace content {
-class GpuChannelHost;
// Adapter to GpuJpegDecodeAccelerator for VideoCaptureDevice::Client. It takes
// care of GpuJpegDecodeAccelerator creation, shared memory, and threading
@@ -90,7 +93,8 @@ class CONTENT_EXPORT VideoCaptureGpuJpegDecoder
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
base::WeakPtr<VideoCaptureGpuJpegDecoder> weak_this);
- void FinishInitialization(scoped_refptr<GpuChannelHost> gpu_channel_host);
+ void FinishInitialization(
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel_host);
// Returns true if the decoding of last frame is not finished yet.
bool IsDecoding_Locked() const;
@@ -98,7 +102,7 @@ class CONTENT_EXPORT VideoCaptureGpuJpegDecoder
// Records |decoder_status_| to histogram.
void RecordInitDecodeUMA_Locked();
- scoped_refptr<GpuChannelHost> gpu_channel_host_;
+ scoped_refptr<gpu::GpuChannelHost> gpu_channel_host_;
// The underlying JPEG decode accelerator.
scoped_ptr<media::JpegDecodeAccelerator> decoder_;

Powered by Google App Engine
This is Rietveld 408576698