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

Unified Diff: content/browser/renderer_host/media/video_capture_host_unittest.cc

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation errors Created 6 years, 6 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_host_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc
index bc5ed577a24c9c5047d989d6148d203fef56e816..ee7aeaa5f86e8c24a9d3404f1f1c87909ae0b3d6 100644
--- a/content/browser/renderer_host/media/video_capture_host_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc
@@ -296,7 +296,7 @@ class VideoCaptureHostTest : public testing::Test {
// Create a Host and connect it to a simulated IPC channel.
host_ = new MockVideoCaptureHost(media_stream_manager_.get());
- host_->OnChannelConnected(base::GetCurrentProcId());
+ host_->OnSenderConnected();
OpenSession();
}
@@ -309,8 +309,8 @@ class VideoCaptureHostTest : public testing::Test {
CloseSession();
- // Simulate closing the IPC channel.
- host_->OnChannelClosing();
+ // Simulate closing the IPC sender.
+ host_->OnSenderClosing();
// Release the reference to the mock object. The object will be destructed
// on the current message loop.

Powered by Google App Engine
This is Rietveld 408576698