| 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_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ | 5 #ifndef MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |
| 6 #define MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ | 6 #define MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include "base/macros.h" | 11 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 12 #include "media/blink/media_blink_export.h" | 15 #include "media/blink/media_blink_export.h" |
| 13 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" | 16 #include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" |
| 14 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" | 17 #include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" |
| 15 | 18 |
| 16 namespace blink { | 19 namespace blink { |
| 17 #if defined(ENABLE_PEPPER_CDMS) | 20 #if defined(ENABLE_PEPPER_CDMS) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 69 |
| 67 // Allow typecasting from blink type as this is the only implementation. | 70 // Allow typecasting from blink type as this is the only implementation. |
| 68 inline WebContentDecryptionModuleImpl* ToWebContentDecryptionModuleImpl( | 71 inline WebContentDecryptionModuleImpl* ToWebContentDecryptionModuleImpl( |
| 69 blink::WebContentDecryptionModule* cdm) { | 72 blink::WebContentDecryptionModule* cdm) { |
| 70 return static_cast<WebContentDecryptionModuleImpl*>(cdm); | 73 return static_cast<WebContentDecryptionModuleImpl*>(cdm); |
| 71 } | 74 } |
| 72 | 75 |
| 73 } // namespace media | 76 } // namespace media |
| 74 | 77 |
| 75 #endif // MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ | 78 #endif // MEDIA_BLINK_WEBCONTENTDECRYPTIONMODULE_IMPL_H_ |
| OLD | NEW |