| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 MEDIA_BLINK_WEBSOURCEBUFFER_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBSOURCEBUFFER_IMPL_H_ |
| 6 #define MEDIA_BLINK_WEBSOURCEBUFFER_IMPL_H_ | 6 #define MEDIA_BLINK_WEBSOURCEBUFFER_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "third_party/WebKit/public/platform/WebSourceBuffer.h" | 13 #include "third_party/WebKit/public/platform/WebSourceBuffer.h" |
| 14 | 14 |
| 15 namespace media { | 15 namespace media { |
| 16 class ChunkDemuxer; | 16 class ChunkDemuxer; |
| 17 | 17 |
| 18 class WebSourceBufferImpl : public blink::WebSourceBuffer { | 18 class WebSourceBufferImpl : public blink::WebSourceBuffer { |
| 19 public: | 19 public: |
| 20 WebSourceBufferImpl(const std::string& id, ChunkDemuxer* demuxer); | 20 WebSourceBufferImpl(const std::string& id, ChunkDemuxer* demuxer); |
| 21 ~WebSourceBufferImpl() override; | 21 ~WebSourceBufferImpl() override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 base::TimeDelta append_window_start_; | 55 base::TimeDelta append_window_start_; |
| 56 base::TimeDelta append_window_end_; | 56 base::TimeDelta append_window_end_; |
| 57 | 57 |
| 58 DISALLOW_COPY_AND_ASSIGN(WebSourceBufferImpl); | 58 DISALLOW_COPY_AND_ASSIGN(WebSourceBufferImpl); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace media | 61 } // namespace media |
| 62 | 62 |
| 63 #endif // MEDIA_BLINK_WEBSOURCEBUFFER_IMPL_H_ | 63 #endif // MEDIA_BLINK_WEBSOURCEBUFFER_IMPL_H_ |
| OLD | NEW |