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

Unified Diff: content/browser/media/capture/web_contents_video_capture_device_unittest.cc

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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/renderer_host/media/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
index 69c654d8a76bea2860d0af1d5c22c4a3b9dfebf1..60d20ff27b334f55c5d47a08859f9d47237d867d 100644
--- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
+++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
@@ -20,6 +20,7 @@
#include "build/build_config.h"
#include "content/browser/browser_thread_impl.h"
#include "content/browser/frame_host/render_frame_host_impl.h"
+#include "content/browser/renderer_host/media/video_capture_buffer_handle.h"
#include "content/browser/renderer_host/media/video_capture_buffer_pool.h"
#include "content/browser/renderer_host/render_view_host_factory.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
@@ -422,10 +423,9 @@ class StubClient : public media::VideoCaptureDevice::Client {
private:
class AutoReleaseBuffer : public media::VideoCaptureDevice::Client::Buffer {
public:
- AutoReleaseBuffer(
- const scoped_refptr<VideoCaptureBufferPool>& pool,
- std::unique_ptr<VideoCaptureBufferPoolBufferHandle> buffer_handle,
- int buffer_id)
+ AutoReleaseBuffer(const scoped_refptr<VideoCaptureBufferPool>& pool,
+ std::unique_ptr<VideoCaptureBufferHandle> buffer_handle,
+ int buffer_id)
: id_(buffer_id),
pool_(pool),
buffer_handle_(std::move(buffer_handle)) {
@@ -451,7 +451,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
const int id_;
const scoped_refptr<VideoCaptureBufferPool> pool_;
- const std::unique_ptr<VideoCaptureBufferPoolBufferHandle> buffer_handle_;
+ const std::unique_ptr<VideoCaptureBufferHandle> buffer_handle_;
};
scoped_refptr<VideoCaptureBufferPool> buffer_pool_;
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/renderer_host/media/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698