OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |