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

Unified Diff: content/renderer/media/peer_connection_tracker_unittest.cc

Issue 2324923002: Remove OnSuspend/OnResume notifications on Android. (Closed)
Patch Set: Fix tests. 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/renderer/media/peer_connection_tracker.cc ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/peer_connection_tracker_unittest.cc
diff --git a/content/renderer/media/peer_connection_tracker_unittest.cc b/content/renderer/media/peer_connection_tracker_unittest.cc
index 32a496fd32f2eee09840d12d94d9f5d3d02a9f5a..d693ffa4151f40ded4dc4e342645edb263be59ea 100644
--- a/content/renderer/media/peer_connection_tracker_unittest.cc
+++ b/content/renderer/media/peer_connection_tracker_unittest.cc
@@ -88,12 +88,7 @@ TEST(PeerConnectionTrackerTest, OnSuspend) {
tracker.OverrideSendTargetForTesting(&target_thread);
EXPECT_CALL(target_thread, OnAddPeerConnection(_));
tracker.RegisterPeerConnection(&pc_handler, config, constraints, nullptr);
-// Back to the test.
-#if defined(OS_ANDROID)
- EXPECT_CALL(pc_handler, CloseClientPeerConnection()).Times(0);
-#else
EXPECT_CALL(pc_handler, CloseClientPeerConnection());
-#endif
std::unique_ptr<IPC::Message> message(new PeerConnectionTracker_OnSuspend());
tracker.OnControlMessageReceived(*message.get());
}
« no previous file with comments | « content/renderer/media/peer_connection_tracker.cc ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698