| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/renderer/media/media_stream_audio_source.h" | 5 #include "content/renderer/media/media_stream_audio_source.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 MediaStreamAudioSource::MediaStreamAudioSource( | 9 MediaStreamAudioSource::MediaStreamAudioSource( |
| 10 int render_view_id, | 10 int render_view_id, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 if (!local_audio_source_) { | 41 if (!local_audio_source_) { |
| 42 result = factory_->InitializeMediaStreamAudioSource(render_view_id_, | 42 result = factory_->InitializeMediaStreamAudioSource(render_view_id_, |
| 43 constraints, | 43 constraints, |
| 44 this); | 44 this); |
| 45 } | 45 } |
| 46 if (result) | 46 if (result) |
| 47 factory_->CreateLocalAudioTrack(track); | 47 factory_->CreateLocalAudioTrack(track); |
| 48 callback.Run(this, result); | 48 callback.Run(this, result); |
| 49 } | 49 } |
| 50 | 50 |
| 51 void MediaStreamAudioSource::RemoveTrack( | |
| 52 const blink::WebMediaStreamTrack& track) { | |
| 53 NOTIMPLEMENTED(); | |
| 54 } | |
| 55 | |
| 56 } // namespace content | 51 } // namespace content |
| OLD | NEW |