OLD | NEW |
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_MEDIA_STREAM_EXTRA_DATA_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_ |
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStream.h" | 12 #include "third_party/WebKit/public/platform/WebMediaStream.h" |
13 | 13 |
14 namespace webrtc { | 14 namespace webrtc { |
15 class MediaStreamInterface; | 15 class MediaStreamInterface; |
16 } // namespace webrtc | 16 } // namespace webrtc |
17 | 17 |
18 namespace content { | 18 namespace content { |
19 | 19 |
20 class CONTENT_EXPORT MediaStreamExtraData | 20 class CONTENT_EXPORT MediaStreamExtraData |
21 : NON_EXPORTED_BASE(public WebKit::WebMediaStream::ExtraData) { | 21 : NON_EXPORTED_BASE(public WebKit::WebMediaStream::ExtraData) { |
22 public: | 22 public: |
(...skipping 15 matching lines...) Expand all Loading... |
38 StreamStopCallback stream_stop_callback_; | 38 StreamStopCallback stream_stop_callback_; |
39 scoped_refptr<webrtc::MediaStreamInterface> stream_; | 39 scoped_refptr<webrtc::MediaStreamInterface> stream_; |
40 bool is_local_; | 40 bool is_local_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(MediaStreamExtraData); | 42 DISALLOW_COPY_AND_ASSIGN(MediaStreamExtraData); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace content | 45 } // namespace content |
46 | 46 |
47 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_ | 47 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_EXTRA_DATA_H_ |
OLD | NEW |