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

Unified Diff: media/capture/video/video_capture_device_client.h

Issue 2361173002: Move classses VideoCaptureDeviceClient and VideoCaptureBufferPool to media/capture/video (Closed)
Patch Set: mcasas@ comments 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
Index: media/capture/video/video_capture_device_client.h
diff --git a/content/browser/renderer_host/media/video_capture_device_client.h b/media/capture/video/video_capture_device_client.h
similarity index 93%
rename from content/browser/renderer_host/media/video_capture_device_client.h
rename to media/capture/video/video_capture_device_client.h
index ac63f8bd51ba50deeda41897d12faf8c7c7dec7a..821c58dbbd0097a7eaccb2f41e43ba238ccc2ee2 100644
--- a/content/browser/renderer_host/media/video_capture_device_client.h
+++ b/media/capture/video/video_capture_device_client.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_
-#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_
+#ifndef MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_CLIENT_H_
+#define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_CLIENT_H_
#include <stddef.h>
#include <stdint.h>
@@ -13,10 +13,10 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-#include "content/common/content_export.h"
+#include "media/capture/capture_export.h"
#include "media/capture/video/video_capture_device.h"
-namespace content {
+namespace media {
class VideoCaptureBufferPool;
class VideoFrameReceiver;
class VideoCaptureJpegDecoder;
@@ -39,7 +39,7 @@ using VideoCaptureJpegDecoderFactoryCB =
// GpuMemoryBuffers into Texture backed VideoFrames. This class creates and
// manages the necessary entities to interact with the GPU process, notably an
// offscreen Context to avoid janking the UI thread.
-class CONTENT_EXPORT VideoCaptureDeviceClient
+class CAPTURE_EXPORT VideoCaptureDeviceClient
: public media::VideoCaptureDevice::Client,
public base::SupportsWeakPtr<VideoCaptureDeviceClient> {
public:
@@ -125,7 +125,6 @@ class CONTENT_EXPORT VideoCaptureDeviceClient
DISALLOW_COPY_AND_ASSIGN(VideoCaptureDeviceClient);
};
+} // namespace media
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_DEVICE_CLIENT_H_
+#endif // MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_CLIENT_H_
« no previous file with comments | « media/capture/video/video_capture_buffer_tracker_factory.h ('k') | media/capture/video/video_capture_device_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698