| 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 "webkit/plugins/ppapi/content_decryptor_delegate.h" | 5 #include "webkit/plugins/ppapi/content_decryptor_delegate.h" |
| 6 | 6 |
| 7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
| 10 #include "media/base/audio_decoder_config.h" | 10 #include "media/base/audio_decoder_config.h" |
| 11 #include "media/base/bind_to_loop.h" | 11 #include "media/base/bind_to_loop.h" |
| 12 #include "media/base/channel_layout.h" | 12 #include "media/base/channel_layout.h" |
| 13 #include "media/base/data_buffer.h" | 13 #include "media/base/data_buffer.h" |
| 14 #include "media/base/decoder_buffer.h" | 14 #include "media/base/decoder_buffer.h" |
| 15 #include "media/base/decrypt_config.h" | 15 #include "media/base/decrypt_config.h" |
| 16 #include "media/base/video_decoder_config.h" | 16 #include "media/base/video_decoder_config.h" |
| 17 #include "media/base/video_frame.h" | 17 #include "media/base/video_frame.h" |
| 18 #include "media/base/video_util.h" | 18 #include "media/base/video_util.h" |
| 19 #include "ppapi/shared_impl/scoped_pp_resource.h" | 19 #include "ppapi/shared_impl/scoped_pp_resource.h" |
| (...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1024 | 1024 |
| 1025 if (free_buffers_.empty()) | 1025 if (free_buffers_.empty()) |
| 1026 return; | 1026 return; |
| 1027 | 1027 |
| 1028 tracking_info->buffer_id = free_buffers_.front(); | 1028 tracking_info->buffer_id = free_buffers_.front(); |
| 1029 free_buffers_.pop(); | 1029 free_buffers_.pop(); |
| 1030 } | 1030 } |
| 1031 | 1031 |
| 1032 } // namespace ppapi | 1032 } // namespace ppapi |
| 1033 } // namespace webkit | 1033 } // namespace webkit |
| OLD | NEW |