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

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

Issue 965333002: Move RemoteMediaStreamAudioTrack to Separete Files Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_REMOTE_MEDIA_STREAM_AUDIO_TRACK_H_
6 #define CONTENT_RENDERER_MEDIA_REMOTE_MEDIA_STREAM_AUDIO_TRACK_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/single_thread_task_runner.h"
10 #include "content/renderer/media/media_stream_track.h"
11
12 namespace content {
13
14 class RemoteMediaStreamAudioTrack : public MediaStreamTrack {
15 public:
16 RemoteMediaStreamAudioTrack(
17 const scoped_refptr<webrtc::AudioTrackInterface>& track,
18 const scoped_refptr<base::SingleThreadTaskRunner>& signaling_thread);
19
20 ~RemoteMediaStreamAudioTrack() override;
21
22 private:
23 void SetEnabled(bool enabled) override;
24
25 void Stop() override;
26
27 private:
28 const scoped_refptr<webrtc::AudioTrackInterface> track_;
29 const scoped_refptr<base::SingleThreadTaskRunner> signaling_thread_;
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_RENDERER_MEDIA_REMOTE_MEDIA_STREAM_AUDIO_TRACK_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/remote_media_stream_audio_track.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698