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

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: Rebase and added NON_EXPORTED_BASE to the base of MediaStreamExtradata. 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 "base/compiler_specific.h"
9 #include "content/common/content_export.h"
10 #include "third_party/libjingle/source/talk/base/scoped_ref_ptr.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre amDescriptor.h"
12
13 namespace webrtc {
14 class MediaStreamInterface;
15 class LocalMediaStreamInterface;
16 } // namespace webrtc
17
18 class CONTENT_EXPORT MediaStreamExtraData
19 : NON_EXPORTED_BASE(public WebKit::WebMediaStreamDescriptor::ExtraData) {
20 public:
21 explicit MediaStreamExtraData(webrtc::MediaStreamInterface* remote_stream);
22 explicit MediaStreamExtraData(
23 webrtc::LocalMediaStreamInterface* local_stream);
24 virtual ~MediaStreamExtraData();
25
26 webrtc::MediaStreamInterface* remote_stream() { return remote_stream_.get(); }
27 webrtc::LocalMediaStreamInterface* local_stream() {
28 return local_stream_.get();
29 }
30
31 private:
32 talk_base::scoped_refptr<webrtc::MediaStreamInterface> remote_stream_;
33 talk_base::scoped_refptr<webrtc::LocalMediaStreamInterface> local_stream_;
34
35 DISALLOW_COPY_AND_ASSIGN(MediaStreamExtraData);
36 };
37
38 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_center.cc ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698