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

Unified Diff: media/capture/video/video_capture_buffer_tracker.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_buffer_tracker.h
diff --git a/content/browser/renderer_host/media/video_capture_buffer_tracker.h b/media/capture/video/video_capture_buffer_tracker.h
similarity index 88%
rename from content/browser/renderer_host/media/video_capture_buffer_tracker.h
rename to media/capture/video/video_capture_buffer_tracker.h
index 182d42fbeee1f17c23de8657516305e67b92f174..778459209d5299238564ba58a100b84f28727c54 100644
--- a/content/browser/renderer_host/media/video_capture_buffer_tracker.h
+++ b/media/capture/video/video_capture_buffer_tracker.h
@@ -2,22 +2,22 @@
// 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_BUFFER_TRACKER_H_
-#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_TRACKER_H_
+#ifndef MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_
+#define MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_
#include <memory>
#include "base/synchronization/lock.h"
-#include "content/browser/renderer_host/media/video_capture_buffer_handle.h"
#include "media/base/video_capture_types.h"
+#include "media/capture/video/video_capture_buffer_handle.h"
-namespace content {
+namespace media {
// Keeps track of the state of a given mappable resource. Each
// VideoCaptureBufferTracker carries indication of pixel format and storage
// type. This is a base class for implementations using different kinds of
// storage.
-class VideoCaptureBufferTracker {
+class CAPTURE_EXPORT VideoCaptureBufferTracker {
public:
VideoCaptureBufferTracker()
: max_pixel_count_(0),
@@ -75,4 +75,4 @@ class VideoCaptureBufferTracker {
} // namespace content
-#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_TRACKER_H_
+#endif // MEDIA_VIDEO_CAPTURE_VIDEO_CAPTURE_BUFFER_TRACKER_H_
« no previous file with comments | « media/capture/video/video_capture_buffer_pool_impl.cc ('k') | media/capture/video/video_capture_buffer_tracker_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698