Chromium Code Reviews| 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 #include "media/filters/source_buffer.h" | 5 #include "media/filters/source_buffer.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "media/webm/webm_stream_parser.h" | 9 #include "media/webm/webm_stream_parser.h" |
| 10 #include "media/mp4/mp4_stream_parser.h" | |
|
acolwell GONE FROM CHROMIUM
2012/06/06 17:32:39
Remove. Object not used in this file. Please remov
strobe_
2012/06/07 16:33:54
Done.
| |
| 10 | 11 |
| 11 namespace media { | 12 namespace media { |
| 12 | 13 |
| 13 SourceBuffer::SourceBuffer() {} | 14 SourceBuffer::SourceBuffer() {} |
| 14 | 15 |
| 15 SourceBuffer::~SourceBuffer() {} | 16 SourceBuffer::~SourceBuffer() {} |
| 16 | 17 |
| 17 void SourceBuffer::Init(scoped_ptr<StreamParser> parser, | 18 void SourceBuffer::Init(scoped_ptr<StreamParser> parser, |
| 18 const InitCB& init_cb, | 19 const InitCB& init_cb, |
| 19 const NewConfigCB& config_cb, | 20 const NewConfigCB& config_cb, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 | 165 |
| 165 return video_cb_.Run(); | 166 return video_cb_.Run(); |
| 166 } | 167 } |
| 167 | 168 |
| 168 bool SourceBuffer::OnKeyNeeded(scoped_array<uint8> init_data, | 169 bool SourceBuffer::OnKeyNeeded(scoped_array<uint8> init_data, |
| 169 int init_data_size) { | 170 int init_data_size) { |
| 170 return key_needed_cb_.Run(init_data.Pass(), init_data_size); | 171 return key_needed_cb_.Run(init_data.Pass(), init_data_size); |
| 171 } | 172 } |
| 172 | 173 |
| 173 } // namespace media | 174 } // namespace media |
| OLD | NEW |