| 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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 int cdm_id) const { | 280 int cdm_id) const { |
| 281 return nullptr; | 281 return nullptr; |
| 282 } | 282 } |
| 283 #endif | 283 #endif |
| 284 | 284 |
| 285 void MockRenderProcessHost::FilterURL(bool empty_allowed, GURL* url) { | 285 void MockRenderProcessHost::FilterURL(bool empty_allowed, GURL* url) { |
| 286 RenderProcessHostImpl::FilterURL(this, empty_allowed, url); | 286 RenderProcessHostImpl::FilterURL(this, empty_allowed, url); |
| 287 } | 287 } |
| 288 | 288 |
| 289 #if defined(ENABLE_WEBRTC) | 289 #if defined(ENABLE_WEBRTC) |
| 290 void MockRenderProcessHost::EnableAecDump(const base::FilePath& file) { | 290 void MockRenderProcessHost::EnableAudioDebugRecordings( |
| 291 const base::FilePath& file) { |
| 291 } | 292 } |
| 292 | 293 |
| 293 void MockRenderProcessHost::DisableAecDump() { | 294 void MockRenderProcessHost::DisableAudioDebugRecordings() { |
| 294 } | 295 } |
| 295 | 296 |
| 296 void MockRenderProcessHost::SetWebRtcLogMessageCallback( | 297 void MockRenderProcessHost::SetWebRtcLogMessageCallback( |
| 297 base::Callback<void(const std::string&)> callback) { | 298 base::Callback<void(const std::string&)> callback) { |
| 298 } | 299 } |
| 299 | 300 |
| 300 RenderProcessHost::WebRtcStopRtpDumpCallback | 301 RenderProcessHost::WebRtcStopRtpDumpCallback |
| 301 MockRenderProcessHost::StartRtpDump( | 302 MockRenderProcessHost::StartRtpDump( |
| 302 bool incoming, | 303 bool incoming, |
| 303 bool outgoing, | 304 bool outgoing, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); | 346 for (ScopedVector<MockRenderProcessHost>::iterator it = processes_.begin(); |
| 346 it != processes_.end(); ++it) { | 347 it != processes_.end(); ++it) { |
| 347 if (*it == host) { | 348 if (*it == host) { |
| 348 processes_.weak_erase(it); | 349 processes_.weak_erase(it); |
| 349 break; | 350 break; |
| 350 } | 351 } |
| 351 } | 352 } |
| 352 } | 353 } |
| 353 | 354 |
| 354 } // namespace content | 355 } // namespace content |
| OLD | NEW |