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

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

Issue 2343423003: Extract nested and private classes from VideoCaptureBufferPool (Closed)
Patch Set: Merge branch 'master' into BufferPoolRefactor 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: content/browser/renderer_host/media/video_capture_buffer_tracker_factory.h
diff --git a/content/browser/renderer_host/media/video_capture_buffer_tracker_factory.h b/content/browser/renderer_host/media/video_capture_buffer_tracker_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..e687471f9d357e297b298cbd63f68d21454fbe00
--- /dev/null
+++ b/content/browser/renderer_host/media/video_capture_buffer_tracker_factory.h
@@ -0,0 +1,22 @@
+// 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_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_H_
+#define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_H_
+
+#include <memory>
+
+#include "content/browser/renderer_host/media/video_capture_buffer_tracker.h"
+
+namespace content {
+
+class VideoCaptureBufferTrackerFactory {
+ public:
+ static std::unique_ptr<VideoCaptureBufferTracker> CreateTracker(
+ media::VideoPixelStorage storage);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_CAPTURE_BUFFER_TRACKER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698