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_MOJO_SERVICES_MOJO_CDM_SERVICE_CONTEXT_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_CDM_SERVICE_CONTEXT_H_ |
6 #define MEDIA_MOJO_SERVICES_MOJO_CDM_SERVICE_CONTEXT_H_ | 6 #define MEDIA_MOJO_SERVICES_MOJO_CDM_SERVICE_CONTEXT_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
12 #include "media/base/cdm_context.h" | 14 #include "media/base/cdm_context.h" |
13 #include "media/base/media_export.h" | 15 #include "media/base/media_export.h" |
14 | 16 |
15 namespace media { | 17 namespace media { |
16 | 18 |
17 class MojoCdmService; | 19 class MojoCdmService; |
(...skipping 25 matching lines...) Expand all Loading... |
43 | 45 |
44 // NOTE: Weak pointers must be invalidated before all other member variables. | 46 // NOTE: Weak pointers must be invalidated before all other member variables. |
45 base::WeakPtrFactory<MojoCdmServiceContext> weak_ptr_factory_; | 47 base::WeakPtrFactory<MojoCdmServiceContext> weak_ptr_factory_; |
46 | 48 |
47 DISALLOW_COPY_AND_ASSIGN(MojoCdmServiceContext); | 49 DISALLOW_COPY_AND_ASSIGN(MojoCdmServiceContext); |
48 }; | 50 }; |
49 | 51 |
50 } // namespace media | 52 } // namespace media |
51 | 53 |
52 #endif // MEDIA_MOJO_SERVICES_MOJO_CDM_SERVICE_CONTEXT_H_ | 54 #endif // MEDIA_MOJO_SERVICES_MOJO_CDM_SERVICE_CONTEXT_H_ |
OLD | NEW |