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

Side by Side Diff: content/renderer/media/webrtc_audio_capturer.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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) 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 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 // Gets information about the paired output device. Returns true if such a 101 // Gets information about the paired output device. Returns true if such a
102 // device exists. 102 // device exists.
103 bool GetPairedOutputParameters(int* session_id, 103 bool GetPairedOutputParameters(int* session_id,
104 int* output_sample_rate, 104 int* output_sample_rate,
105 int* output_frames_per_buffer) const; 105 int* output_frames_per_buffer) const;
106 106
107 const std::string& device_id() const { return device_id_; } 107 const std::string& device_id() const { return device_id_; }
108 int session_id() const { return session_id_; } 108 int session_id() const { return session_id_; }
109 109
110 WebKit::WebAudioSourceProvider* audio_source_provider() const { 110 blink::WebAudioSourceProvider* audio_source_provider() const {
111 return source_provider_.get(); 111 return source_provider_.get();
112 } 112 }
113 113
114 // Stops recording audio. 114 // Stops recording audio.
115 void Stop(); 115 void Stop();
116 116
117 protected: 117 protected:
118 friend class base::RefCountedThreadSafe<WebRtcAudioCapturer>; 118 friend class base::RefCountedThreadSafe<WebRtcAudioCapturer>;
119 WebRtcAudioCapturer(); 119 WebRtcAudioCapturer();
120 virtual ~WebRtcAudioCapturer(); 120 virtual ~WebRtcAudioCapturer();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 int output_sample_rate_; 193 int output_sample_rate_;
194 int output_frames_per_buffer_; 194 int output_frames_per_buffer_;
195 195
196 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer); 196 DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer);
197 }; 197 };
198 198
199 } // namespace content 199 } // namespace content
200 200
201 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_ 201 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_AUDIO_CAPTURER_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediasource_impl.cc ('k') | content/renderer/media/webrtc_local_audio_source_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698