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_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ | 5 #ifndef MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ |
6 #define MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ | 6 #define MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include <algorithm> | 11 #include <algorithm> |
9 #include <string> | 12 #include <string> |
10 #include <vector> | 13 #include <vector> |
11 | 14 |
12 #include "base/macros.h" | 15 #include "base/macros.h" |
13 #include "media/cdm/api/content_decryption_module.h" | 16 #include "media/cdm/api/content_decryption_module.h" |
14 #include "ppapi/c/ppb_file_io.h" | 17 #include "ppapi/c/ppb_file_io.h" |
15 #include "ppapi/cpp/file_io.h" | 18 #include "ppapi/cpp/file_io.h" |
16 #include "ppapi/cpp/file_ref.h" | 19 #include "ppapi/cpp/file_ref.h" |
17 #include "ppapi/cpp/instance.h" | 20 #include "ppapi/cpp/instance.h" |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 pp::CompletionCallback first_file_read_cb_; | 206 pp::CompletionCallback first_file_read_cb_; |
204 | 207 |
205 pp::CompletionCallbackFactory<CdmFileIOImpl> callback_factory_; | 208 pp::CompletionCallbackFactory<CdmFileIOImpl> callback_factory_; |
206 | 209 |
207 DISALLOW_COPY_AND_ASSIGN(CdmFileIOImpl); | 210 DISALLOW_COPY_AND_ASSIGN(CdmFileIOImpl); |
208 }; | 211 }; |
209 | 212 |
210 } // namespace media | 213 } // namespace media |
211 | 214 |
212 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ | 215 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ |
OLD | NEW |