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

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: Introduced WebRTCCallbackInterface. Created 4 years, 7 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 RenderProcessHostImpl::FilterURL(this, empty_allowed, url); 302 RenderProcessHostImpl::FilterURL(this, empty_allowed, url);
303 } 303 }
304 304
305 #if defined(ENABLE_WEBRTC) 305 #if defined(ENABLE_WEBRTC)
306 void MockRenderProcessHost::EnableAudioDebugRecordings( 306 void MockRenderProcessHost::EnableAudioDebugRecordings(
307 const base::FilePath& file) { 307 const base::FilePath& file) {
308 } 308 }
309 309
310 void MockRenderProcessHost::DisableAudioDebugRecordings() {} 310 void MockRenderProcessHost::DisableAudioDebugRecordings() {}
311 311
312 void MockRenderProcessHost::EnableEventLogRecordings(
313 const base::FilePath& file) {}
314
315 void MockRenderProcessHost::DisableEventLogRecordings() {}
316
317 void MockRenderProcessHost::SetWebRtcLogMessageCallback( 312 void MockRenderProcessHost::SetWebRtcLogMessageCallback(
318 base::Callback<void(const std::string&)> callback) { 313 base::Callback<void(const std::string&)> callback) {
319 } 314 }
320 315
321 void MockRenderProcessHost::ClearWebRtcLogMessageCallback() {} 316 void MockRenderProcessHost::ClearWebRtcLogMessageCallback() {}
322 317
323 RenderProcessHost::WebRtcStopRtpDumpCallback 318 RenderProcessHost::WebRtcStopRtpDumpCallback
324 MockRenderProcessHost::StartRtpDump( 319 MockRenderProcessHost::StartRtpDump(
325 bool incoming, 320 bool incoming,
326 bool outgoing, 321 bool outgoing,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); 362 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin();
368 it != processes_.end(); ++it) { 363 it != processes_.end(); ++it) {
369 if (*it == host) { 364 if (*it == host) {
370 processes_.weak_erase(it); 365 processes_.weak_erase(it);
371 break; 366 break;
372 } 367 }
373 } 368 }
374 } 369 }
375 370
376 } // namespace content 371 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698