| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/browser/renderer_host/media/audio_mirroring_manager.h" | 5 #include "content/browser/media/capture/audio_mirroring_manager.h" |
| 6 | 6 |
| 7 #include "content/public/browser/browser_thread.h" | 7 #include "content/public/browser/browser_thread.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 // Debug utility to make sure methods of AudioMirroringManager are not invoked | 13 // Debug utility to make sure methods of AudioMirroringManager are not invoked |
| 14 // more than once in a single call stack. In release builds, this compiles to | 14 // more than once in a single call stack. In release builds, this compiles to |
| 15 // nothing and gets completely optimized out. | 15 // nothing and gets completely optimized out. |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 for (DiverterMap::iterator it = diverters_.lower_bound(target); | 155 for (DiverterMap::iterator it = diverters_.lower_bound(target); |
| 156 it != diverters_.end() && it->first == target; ++it) { | 156 it != diverters_.end() && it->first == target; ++it) { |
| 157 it->second->StopDiverting(); | 157 it->second->StopDiverting(); |
| 158 } | 158 } |
| 159 | 159 |
| 160 // Remove the entry from the set of active mirroring sessions. | 160 // Remove the entry from the set of active mirroring sessions. |
| 161 sessions_.erase(session_it); | 161 sessions_.erase(session_it); |
| 162 } | 162 } |
| 163 | 163 |
| 164 } // namespace content | 164 } // namespace content |
| OLD | NEW |