| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CDM_CDM_HELPERS_H_ | 5 #ifndef MEDIA_CDM_CDM_HELPERS_H_ |
| 6 #define MEDIA_CDM_CDM_HELPERS_H_ | 6 #define MEDIA_CDM_CDM_HELPERS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" // nogncheck |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" // nogncheck |
| 12 #include "media/cdm/api/content_decryption_module.h" | 12 #include "media/cdm/api/content_decryption_module.h" |
| 13 | 13 |
| 14 #if !defined(USE_PPAPI_CDM_ADAPTER) | 14 #if !defined(USE_PPAPI_CDM_ADAPTER) |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" // nogncheck |
| 16 #include "media/base/media_export.h" | 16 #include "media/base/media_export.h" |
| 17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
| 18 #define MEDIA_CDM_EXPORT MEDIA_EXPORT | 18 #define MEDIA_CDM_EXPORT MEDIA_EXPORT |
| 19 #else | 19 #else |
| 20 #define MEDIA_CDM_EXPORT | 20 #define MEDIA_CDM_EXPORT |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 namespace media { | 23 namespace media { |
| 24 | 24 |
| 25 class VideoFrame; | 25 class VideoFrame; |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 private: | 117 private: |
| 118 cdm::Buffer* buffer_; | 118 cdm::Buffer* buffer_; |
| 119 cdm::AudioFormat format_; | 119 cdm::AudioFormat format_; |
| 120 | 120 |
| 121 DISALLOW_COPY_AND_ASSIGN(AudioFramesImpl); | 121 DISALLOW_COPY_AND_ASSIGN(AudioFramesImpl); |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace media | 124 } // namespace media |
| 125 | 125 |
| 126 #endif // MEDIA_CDM_CDM_HELPERS_H_ | 126 #endif // MEDIA_CDM_CDM_HELPERS_H_ |
| OLD | NEW |