| 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 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_TRACK_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_TRACK_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_TRACK_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_TRACK_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
| 10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 11 #include "media/audio/audio_parameters.h" | 12 #include "media/audio/audio_parameters.h" |
| 12 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" | 13 #include "third_party/WebKit/public/platform/WebMediaStreamTrack.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 | 16 |
| 16 // MediaStreamTrack is a Chrome representation of blink::WebMediaStreamTrack. | 17 // MediaStreamTrack is a Chrome representation of blink::WebMediaStreamTrack. |
| 17 // It is owned by blink::WebMediaStreamTrack as | 18 // It is owned by blink::WebMediaStreamTrack as |
| 18 // blink::WebMediaStreamTrack::ExtraData. | 19 // blink::WebMediaStreamTrack::ExtraData. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 36 // Used to DCHECK that we are called on Render main Thread. | 37 // Used to DCHECK that we are called on Render main Thread. |
| 37 base::ThreadChecker main_render_thread_checker_; | 38 base::ThreadChecker main_render_thread_checker_; |
| 38 | 39 |
| 39 private: | 40 private: |
| 40 DISALLOW_COPY_AND_ASSIGN(MediaStreamTrack); | 41 DISALLOW_COPY_AND_ASSIGN(MediaStreamTrack); |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 } // namespace content | 44 } // namespace content |
| 44 | 45 |
| 45 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_TRACK_H_ | 46 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_TRACK_H_ |
| OLD | NEW |