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

Side by Side Diff: content/browser/media/capture/web_contents_audio_input_stream.h

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 // An AudioInputStream which provides a loop-back of all audio output generated 5 // An AudioInputStream which provides a loop-back of all audio output generated
6 // by the RenderView associated with a WebContents instance. The single stream 6 // by the RenderView associated with a WebContents instance. The single stream
7 // of data is produced by format-converting and mixing all audio output from a 7 // of data is produced by format-converting and mixing all audio output from a
8 // RenderView. In other words, WebContentsAudioInputStream provides tab-level 8 // RenderView. In other words, WebContentsAudioInputStream provides tab-level
9 // audio mirroring. 9 // audio mirroring.
10 // 10 //
11 // The implementation observes a WebContents instance (which represents a 11 // The implementation observes a WebContents instance (which represents a
12 // browser tab) so that it can track the replacement of RenderViews due to 12 // browser tab) so that it can track the replacement of RenderViews due to
13 // navigation, crash/reload, etc. events; and take appropriate actions to 13 // navigation, crash/reload, etc. events; and take appropriate actions to
14 // provide a seamless, uninterrupted mirroring experience. 14 // provide a seamless, uninterrupted mirroring experience.
15 15
16 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_WEB_CONTENTS_AUDIO_INPUT_STREAM_H_ 16 #ifndef CONTENT_BROWSER_MEDIA_CAPTURE_WEB_CONTENTS_AUDIO_INPUT_STREAM_H_
17 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_WEB_CONTENTS_AUDIO_INPUT_STREAM_H_ 17 #define CONTENT_BROWSER_MEDIA_CAPTURE_WEB_CONTENTS_AUDIO_INPUT_STREAM_H_
18 18
19 #include <string> 19 #include <string>
20 20
21 #include "base/memory/ref_counted.h" 21 #include "base/memory/ref_counted.h"
22 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "media/audio/audio_io.h" 23 #include "media/audio/audio_io.h"
24 24
25 namespace base { 25 namespace base {
26 class SingleThreadTaskRunner; 26 class SingleThreadTaskRunner;
27 } 27 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 virtual ~WebContentsAudioInputStream(); 83 virtual ~WebContentsAudioInputStream();
84 84
85 scoped_refptr<Impl> impl_; 85 scoped_refptr<Impl> impl_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(WebContentsAudioInputStream); 87 DISALLOW_COPY_AND_ASSIGN(WebContentsAudioInputStream);
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_WEB_CONTENTS_AUDIO_INPUT_STREAM_H _ 92 #endif // CONTENT_BROWSER_MEDIA_CAPTURE_WEB_CONTENTS_AUDIO_INPUT_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698