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_ADAPTER_H_ | 5 #ifndef MEDIA_CDM_CDM_ADAPTER_H_ |
6 #define MEDIA_CDM_CDM_ADAPTER_H_ | 6 #define MEDIA_CDM_CDM_ADAPTER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
17 #include "base/scoped_native_library.h" | 19 #include "base/scoped_native_library.h" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 208 |
207 // NOTE: Weak pointers must be invalidated before all other member variables. | 209 // NOTE: Weak pointers must be invalidated before all other member variables. |
208 base::WeakPtrFactory<CdmAdapter> weak_factory_; | 210 base::WeakPtrFactory<CdmAdapter> weak_factory_; |
209 | 211 |
210 DISALLOW_COPY_AND_ASSIGN(CdmAdapter); | 212 DISALLOW_COPY_AND_ASSIGN(CdmAdapter); |
211 }; | 213 }; |
212 | 214 |
213 } // namespace media | 215 } // namespace media |
214 | 216 |
215 #endif // MEDIA_CDM_CDM_ADAPTER_H_ | 217 #endif // MEDIA_CDM_CDM_ADAPTER_H_ |
OLD | NEW |