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

Side by Side Diff: content/public/test/mock_render_process_host.cc

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by dcheng. Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/test/mock_render_process_host.h" 5 #include "content/public/test/mock_render_process_host.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 } 308 }
309 309
310 #if defined(ENABLE_WEBRTC) 310 #if defined(ENABLE_WEBRTC)
311 void MockRenderProcessHost::EnableAudioDebugRecordings( 311 void MockRenderProcessHost::EnableAudioDebugRecordings(
312 const base::FilePath& file) { 312 const base::FilePath& file) {
313 } 313 }
314 314
315 void MockRenderProcessHost::DisableAudioDebugRecordings() { 315 void MockRenderProcessHost::DisableAudioDebugRecordings() {
316 } 316 }
317 317
318 void MockRenderProcessHost::EnableEventLogRecordings(
319 const base::FilePath& file) {}
320
321 void MockRenderProcessHost::DisableEventLogRecordings() {}
322
323 void MockRenderProcessHost::SetWebRtcLogMessageCallback( 318 void MockRenderProcessHost::SetWebRtcLogMessageCallback(
324 base::Callback<void(const std::string&)> callback) { 319 base::Callback<void(const std::string&)> callback) {
325 } 320 }
326 321
327 RenderProcessHost::WebRtcStopRtpDumpCallback 322 RenderProcessHost::WebRtcStopRtpDumpCallback
328 MockRenderProcessHost::StartRtpDump( 323 MockRenderProcessHost::StartRtpDump(
329 bool incoming, 324 bool incoming,
330 bool outgoing, 325 bool outgoing,
331 const WebRtcRtpPacketCallback& packet_callback) { 326 const WebRtcRtpPacketCallback& packet_callback) {
332 return WebRtcStopRtpDumpCallback(); 327 return WebRtcStopRtpDumpCallback();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); 366 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin();
372 it != processes_.end(); ++it) { 367 it != processes_.end(); ++it) {
373 if (*it == host) { 368 if (*it == host) {
374 processes_.weak_erase(it); 369 processes_.weak_erase(it);
375 break; 370 break;
376 } 371 }
377 } 372 }
378 } 373 }
379 374
380 } // namespace content 375 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698