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> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <algorithm> | 11 #include <algorithm> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/macros.h" | 15 #include "base/macros.h" // nogncheck |
16 #include "media/cdm/api/content_decryption_module.h" | 16 #include "media/cdm/api/content_decryption_module.h" |
17 #include "ppapi/c/ppb_file_io.h" | 17 #include "ppapi/c/ppb_file_io.h" |
18 #include "ppapi/cpp/file_io.h" | 18 #include "ppapi/cpp/file_io.h" |
19 #include "ppapi/cpp/file_ref.h" | 19 #include "ppapi/cpp/file_ref.h" |
20 #include "ppapi/cpp/instance.h" | 20 #include "ppapi/cpp/instance.h" |
21 #include "ppapi/cpp/module.h" | 21 #include "ppapi/cpp/module.h" |
22 #include "ppapi/cpp/private/isolated_file_system_private.h" | 22 #include "ppapi/cpp/private/isolated_file_system_private.h" |
23 #include "ppapi/utility/completion_callback_factory.h" | 23 #include "ppapi/utility/completion_callback_factory.h" |
24 | 24 |
25 namespace media { | 25 namespace media { |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 pp::CompletionCallback first_file_read_cb_; | 206 pp::CompletionCallback first_file_read_cb_; |
207 | 207 |
208 pp::CompletionCallbackFactory<CdmFileIOImpl> callback_factory_; | 208 pp::CompletionCallbackFactory<CdmFileIOImpl> callback_factory_; |
209 | 209 |
210 DISALLOW_COPY_AND_ASSIGN(CdmFileIOImpl); | 210 DISALLOW_COPY_AND_ASSIGN(CdmFileIOImpl); |
211 }; | 211 }; |
212 | 212 |
213 } // namespace media | 213 } // namespace media |
214 | 214 |
215 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ | 215 #endif // MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_ |
OLD | NEW |