| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #if defined(ENABLE_PEPPER_CDMS) | 5 #include "ppapi/features/features.h" |
| 6 |
| 7 #if BUILDFLAG(ENABLE_PEPPER_CDMS) |
| 6 #include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h" | 8 #include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h" |
| 7 | 9 |
| 8 #include <utility> | 10 #include <utility> |
| 9 | 11 |
| 10 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" | 12 #include "content/renderer/pepper/pepper_plugin_instance_impl.h" |
| 11 #include "content/renderer/pepper/pepper_webplugin_impl.h" | 13 #include "content/renderer/pepper/pepper_webplugin_impl.h" |
| 12 #include "third_party/WebKit/public/platform/URLConversion.h" | 14 #include "third_party/WebKit/public/platform/URLConversion.h" |
| 13 #include "third_party/WebKit/public/platform/WebString.h" | 15 #include "third_party/WebKit/public/platform/WebString.h" |
| 14 #include "third_party/WebKit/public/web/WebDocument.h" | 16 #include "third_party/WebKit/public/web/WebDocument.h" |
| 15 #include "third_party/WebKit/public/web/WebElement.h" | 17 #include "third_party/WebKit/public/web/WebElement.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 plugin_instance_ = NULL; | 89 plugin_instance_ = NULL; |
| 88 helper_plugin_.reset(); | 90 helper_plugin_.reset(); |
| 89 } | 91 } |
| 90 | 92 |
| 91 ContentDecryptorDelegate* PepperCdmWrapperImpl::GetCdmDelegate() { | 93 ContentDecryptorDelegate* PepperCdmWrapperImpl::GetCdmDelegate() { |
| 92 return plugin_instance_->GetContentDecryptorDelegate(); | 94 return plugin_instance_->GetContentDecryptorDelegate(); |
| 93 } | 95 } |
| 94 | 96 |
| 95 } // namespace content | 97 } // namespace content |
| 96 | 98 |
| 97 #endif // defined(ENABLE_PEPPER_CDMS) | 99 #endif // BUILDFLAG(ENABLE_PEPPER_CDMS) |
| OLD | NEW |