| 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 CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ | 6 #define CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
| 14 #include "content/renderer/media/cdm/pepper_cdm_wrapper.h" | 16 #include "content/renderer/media/cdm/pepper_cdm_wrapper.h" |
| 15 #include "media/base/cdm_context.h" | 17 #include "media/base/cdm_context.h" |
| 16 #include "media/base/cdm_factory.h" | 18 #include "media/base/cdm_factory.h" |
| 17 #include "media/base/decryptor.h" | 19 #include "media/base/decryptor.h" |
| 18 #include "media/base/media_keys.h" | 20 #include "media/base/media_keys.h" |
| 19 #include "media/base/video_decoder_config.h" | 21 #include "media/base/video_decoder_config.h" |
| 20 | 22 |
| 21 class GURL; | 23 class GURL; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 158 |
| 157 // NOTE: Weak pointers must be invalidated before all other member variables. | 159 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 158 base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_; | 160 base::WeakPtrFactory<PpapiDecryptor> weak_ptr_factory_; |
| 159 | 161 |
| 160 DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor); | 162 DISALLOW_COPY_AND_ASSIGN(PpapiDecryptor); |
| 161 }; | 163 }; |
| 162 | 164 |
| 163 } // namespace content | 165 } // namespace content |
| 164 | 166 |
| 165 #endif // CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ | 167 #endif // CONTENT_RENDERER_MEDIA_CDM_PPAPI_DECRYPTOR_H_ |
| OLD | NEW |