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

Side by Side Diff: content/browser/media/capture/audio_mirroring_manager.cc

Issue 172003004: Fixit: Move tab and desktop capture code to new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698