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

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

Issue 10383151: Refactor MediaStreamImpl and PeerConnection glue implementation after WebKit changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Tommy W's comments Created 8 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_
7
8 #include "content/common/content_export.h"
9 #include "third_party/libjingle/source/talk/base/scoped_ref_ptr.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre amDescriptor.h"
11
12 namespace webrtc {
13 class MediaStreamInterface;
14 class LocalMediaStreamInterface;
15 }
tommi (sloooow) - chröme 2012/05/14 14:33:52 } // namespace webrtc
perkj_chrome 2012/05/14 15:14:33 Done.
16
17 class CONTENT_EXPORT MediaStreamExtraData
18 : public WebKit::WebMediaStreamDescriptor::ExtraData {
19 public:
20 explicit MediaStreamExtraData(webrtc::MediaStreamInterface* remote_stream);
21 explicit MediaStreamExtraData(
22 webrtc::LocalMediaStreamInterface* local_stream);
23 virtual ~MediaStreamExtraData();
24
25 webrtc::MediaStreamInterface* remote_stream() { return remote_stream_.get(); }
26 webrtc::LocalMediaStreamInterface* local_stream() {
27 return local_stream_.get();
28 }
29
30 private:
31 talk_base::scoped_refptr<webrtc::MediaStreamInterface> remote_stream_;
32 talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface> local_stream_;
33
34 DISALLOW_COPY_AND_ASSIGN(MediaStreamExtraData);
35 };
36
37 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698