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

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: 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/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..5d6ec081b09e098baa4a938952cdfdab86a5e622 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
@@ -422,10 +422,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 +450,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_;

Powered by Google App Engine
This is Rietveld 408576698