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

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

Issue 2814443007: EXPERIMENTAL (Closed)
Patch Set: Created 3 years, 8 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 | « base/sync_socket_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_renderer_host_unittest.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
index 20ea45557eb243a36ef6ec40955a899fecfa02bd..b8f92a68db3207c9c3b716e7cb8df7c10d1ad48c 100644
--- a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
@@ -213,9 +213,9 @@ class MockAudioRendererHost : public AudioRendererHost {
shared_memory_length_ = length;
// Create the SyncSocket using the handle.
- base::SyncSocket::Handle sync_socket_handle =
- base::SyncSocket::UnwrapHandle(socket_descriptor);
- sync_socket_.reset(new base::SyncSocket(sync_socket_handle));
+ // base::SyncSocket::Handle sync_socket_handle =
+ base::SyncSocket::UnwrapHandle(socket_descriptor);
+ // sync_socket_.reset(new base::SyncSocket(sync_socket_handle));
// And then delegate the call to the mock method.
WasNotifiedOfCreation(stream_id, length);
@@ -224,7 +224,7 @@ class MockAudioRendererHost : public AudioRendererHost {
void OnNotifyStreamError(int stream_id) { WasNotifiedOfError(stream_id); }
std::unique_ptr<base::SharedMemory> shared_memory_;
- std::unique_ptr<base::SyncSocket> sync_socket_;
+ // std::unique_ptr<base::SyncSocket> sync_socket_;
uint32_t shared_memory_length_;
base::RunLoop* auth_run_loop_; // Used to wait for authorization.
« no previous file with comments | « base/sync_socket_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698