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

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

Issue 2308533003: Break tight coupling of VideoCaptureDeviceClient to renderer_host (Closed)
Patch Set: miu's 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_buffer_pool.h » ('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 8d43e1b864cf82ee6fd80c1c804f25d329ddb64a..69c654d8a76bea2860d0af1d5c22c4a3b9dfebf1 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
@@ -332,7 +332,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
const base::Closure& error_callback)
: report_callback_(report_callback),
error_callback_(error_callback) {
- buffer_pool_ = new VideoCaptureBufferPool(2);
+ buffer_pool_ = new VideoCaptureBufferPoolImpl(2);
}
~StubClient() override {}
@@ -424,7 +424,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
public:
AutoReleaseBuffer(
const scoped_refptr<VideoCaptureBufferPool>& pool,
- std::unique_ptr<VideoCaptureBufferPool::BufferHandle> buffer_handle,
+ std::unique_ptr<VideoCaptureBufferPoolBufferHandle> buffer_handle,
int buffer_id)
: id_(buffer_id),
pool_(pool),
@@ -451,7 +451,7 @@ class StubClient : public media::VideoCaptureDevice::Client {
const int id_;
const scoped_refptr<VideoCaptureBufferPool> pool_;
- const std::unique_ptr<VideoCaptureBufferPool::BufferHandle> buffer_handle_;
+ const std::unique_ptr<VideoCaptureBufferPoolBufferHandle> buffer_handle_;
};
scoped_refptr<VideoCaptureBufferPool> buffer_pool_;
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_buffer_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698