OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_OZONE_MEDIA_OZONE_PLATFORM_H_ | 5 #ifndef MEDIA_OZONE_MEDIA_OZONE_PLATFORM_H_ |
6 #define MEDIA_OZONE_MEDIA_OZONE_PLATFORM_H_ | 6 #define MEDIA_OZONE_MEDIA_OZONE_PLATFORM_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "media/base/media_export.h" | 10 #include "media/base/media_export.h" |
10 | 11 |
11 namespace media { | 12 namespace media { |
12 | 13 |
13 class VideoDecodeAccelerator; | 14 class VideoDecodeAccelerator; |
14 | 15 |
15 // Class for Ozone platform media implementations. Note that the base class for | 16 // Class for Ozone platform media implementations. Note that the base class for |
16 // Ozone platform is at ui/ozone. | 17 // Ozone platform is at ui/ozone. |
17 // | 18 // |
18 // Ozone platforms must override this class and implement the virtual | 19 // Ozone platforms must override this class and implement the virtual |
(...skipping 19 matching lines...) Expand all Loading... |
38 static void CreateInstance(); | 39 static void CreateInstance(); |
39 | 40 |
40 static MediaOzonePlatform* instance_; | 41 static MediaOzonePlatform* instance_; |
41 | 42 |
42 DISALLOW_COPY_AND_ASSIGN(MediaOzonePlatform); | 43 DISALLOW_COPY_AND_ASSIGN(MediaOzonePlatform); |
43 }; | 44 }; |
44 | 45 |
45 } // namespace media | 46 } // namespace media |
46 | 47 |
47 #endif // MEDIA_OZONE_MEDIA_OZONE_PLATFORM_H_ | 48 #endif // MEDIA_OZONE_MEDIA_OZONE_PLATFORM_H_ |
OLD | NEW |