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_PEPPER_CONTENT_DECRYPTOR_DELEGATE_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_CONTENT_DECRYPTOR_DELEGATE_H_ |
6 #define CONTENT_RENDERER_PEPPER_CONTENT_DECRYPTOR_DELEGATE_H_ | 6 #define CONTENT_RENDERER_PEPPER_CONTENT_DECRYPTOR_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback_helpers.h" | 13 #include "base/callback_helpers.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/containers/scoped_ptr_hash_map.h" | 15 #include "base/containers/scoped_ptr_hash_map.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "media/base/cdm_promise.h" | 18 #include "media/base/cdm_promise.h" |
19 #include "media/base/channel_layout.h" | 19 #include "media/base/channel_layout.h" |
20 #include "media/base/decryptor.h" | 20 #include "media/base/decryptor.h" |
21 #include "media/base/media_keys.h" | 21 #include "media/base/media_keys.h" |
22 #include "media/base/sample_format.h" | 22 #include "media/base/sample_format.h" |
23 #include "ppapi/c/pp_time.h" | 23 #include "ppapi/c/pp_time.h" |
24 #include "ppapi/c/private/pp_content_decryptor.h" | 24 #include "ppapi/c/private/pp_content_decryptor.h" |
25 #include "ppapi/c/private/ppp_content_decryptor_private.h" | 25 #include "ppapi/c/private/ppp_content_decryptor_private.h" |
26 #include "ui/gfx/size.h" | 26 #include "ui/gfx/geometry/size.h" |
27 | 27 |
28 namespace media { | 28 namespace media { |
29 class AudioDecoderConfig; | 29 class AudioDecoderConfig; |
30 class DecoderBuffer; | 30 class DecoderBuffer; |
31 class VideoDecoderConfig; | 31 class VideoDecoderConfig; |
32 } | 32 } |
33 | 33 |
34 namespace content { | 34 namespace content { |
35 | 35 |
36 class PPB_Buffer_Impl; | 36 class PPB_Buffer_Impl; |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 | 257 |
258 base::WeakPtr<ContentDecryptorDelegate> weak_this_; | 258 base::WeakPtr<ContentDecryptorDelegate> weak_this_; |
259 base::WeakPtrFactory<ContentDecryptorDelegate> weak_ptr_factory_; | 259 base::WeakPtrFactory<ContentDecryptorDelegate> weak_ptr_factory_; |
260 | 260 |
261 DISALLOW_COPY_AND_ASSIGN(ContentDecryptorDelegate); | 261 DISALLOW_COPY_AND_ASSIGN(ContentDecryptorDelegate); |
262 }; | 262 }; |
263 | 263 |
264 } // namespace content | 264 } // namespace content |
265 | 265 |
266 #endif // CONTENT_RENDERER_PEPPER_CONTENT_DECRYPTOR_DELEGATE_H_ | 266 #endif // CONTENT_RENDERER_PEPPER_CONTENT_DECRYPTOR_DELEGATE_H_ |
OLD | NEW |