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

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

Issue 2801853005: Create a private API for controlling WebRTC's AEC3 (Closed)
Patch Set: Fixing typo 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 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 346
347 bool MockRenderProcessHost::StartWebRTCEventLog( 347 bool MockRenderProcessHost::StartWebRTCEventLog(
348 const base::FilePath& file_path) { 348 const base::FilePath& file_path) {
349 return false; 349 return false;
350 } 350 }
351 351
352 bool MockRenderProcessHost::StopWebRTCEventLog() { 352 bool MockRenderProcessHost::StopWebRTCEventLog() {
353 return false; 353 return false;
354 } 354 }
355 355
356 void MockRenderProcessHost::SetEchoCanceller3(bool enable) {}
357
356 void MockRenderProcessHost::SetWebRtcLogMessageCallback( 358 void MockRenderProcessHost::SetWebRtcLogMessageCallback(
357 base::Callback<void(const std::string&)> callback) { 359 base::Callback<void(const std::string&)> callback) {
358 } 360 }
359 361
360 void MockRenderProcessHost::ClearWebRtcLogMessageCallback() {} 362 void MockRenderProcessHost::ClearWebRtcLogMessageCallback() {}
361 363
362 RenderProcessHost::WebRtcStopRtpDumpCallback 364 RenderProcessHost::WebRtcStopRtpDumpCallback
363 MockRenderProcessHost::StartRtpDump( 365 MockRenderProcessHost::StartRtpDump(
364 bool incoming, 366 bool incoming,
365 bool outgoing, 367 bool outgoing,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 for (auto it = processes_.begin(); it != processes_.end(); ++it) { 410 for (auto it = processes_.begin(); it != processes_.end(); ++it) {
409 if (it->get() == host) { 411 if (it->get() == host) {
410 it->release(); 412 it->release();
411 processes_.erase(it); 413 processes_.erase(it);
412 break; 414 break;
413 } 415 }
414 } 416 }
415 } 417 }
416 418
417 } // namespace content 419 } // namespace content
OLDNEW
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | content/renderer/media/aec_dump_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698