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 #ifndef CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_ |
6 #define CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_ |
7 | 7 |
8 #if !defined(ENABLE_PEPPER_CDMS) | 8 #include "ppapi/features/features.h" |
| 9 |
| 10 #if !BUILDFLAG(ENABLE_PEPPER_CDMS) |
9 #error This file should only be included when ENABLE_PEPPER_CDMS is defined | 11 #error This file should only be included when ENABLE_PEPPER_CDMS is defined |
10 #endif | 12 #endif |
11 | 13 |
12 #include <memory> | 14 #include <memory> |
13 | 15 |
14 #include "base/callback.h" | 16 #include "base/callback.h" |
15 #include "base/macros.h" | 17 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 18 #include "base/memory/ref_counted.h" |
17 #include "content/renderer/media/cdm/pepper_cdm_wrapper.h" | 19 #include "content/renderer/media/cdm/pepper_cdm_wrapper.h" |
18 | 20 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 64 |
63 ScopedHelperPlugin helper_plugin_; | 65 ScopedHelperPlugin helper_plugin_; |
64 scoped_refptr<PepperPluginInstanceImpl> plugin_instance_; | 66 scoped_refptr<PepperPluginInstanceImpl> plugin_instance_; |
65 | 67 |
66 DISALLOW_COPY_AND_ASSIGN(PepperCdmWrapperImpl); | 68 DISALLOW_COPY_AND_ASSIGN(PepperCdmWrapperImpl); |
67 }; | 69 }; |
68 | 70 |
69 } // namespace content | 71 } // namespace content |
70 | 72 |
71 #endif // CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_ | 73 #endif // CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_ |
OLD | NEW |