OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #import "config.h" | 26 #import "config.h" |
27 #import "CDMPrivateAVFoundation.h" | 27 #import "CDMPrivateAVFoundation.h" |
28 | 28 |
29 #if ENABLE(ENCRYPTED_MEDIA_V2) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 | 29 #if ENABLE(ENCRYPTED_MEDIA_V2) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 |
30 | 30 |
31 #import <AVFoundation/AVFoundation.h> | 31 #import <AVFoundation/AVFoundation.h> |
32 #import <objc/objc-runtime.h> | 32 #import <objc/objc-runtime.h> |
33 #import "CDM.h" | 33 #import "CDM.h" |
34 #import "ExceptionCode.h" | |
35 #import "MediaPlayerPrivateAVFoundationObjC.h" | 34 #import "MediaPlayerPrivateAVFoundationObjC.h" |
36 #import "SoftLinking.h" | 35 #import "SoftLinking.h" |
| 36 #import "core/dom/ExceptionCode.h" |
37 #import "core/platform/UUID.h" | 37 #import "core/platform/UUID.h" |
38 #import "core/platform/graphics/MediaPlayer.h" | 38 #import "core/platform/graphics/MediaPlayer.h" |
39 #import <wtf/UnusedParam.h> | 39 #import <wtf/UnusedParam.h> |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 class CDMSessionAVFoundation : public CDMSession { | 43 class CDMSessionAVFoundation : public CDMSession { |
44 public: | 44 public: |
45 CDMSessionAVFoundation(CDMPrivateAVFoundation* parent); | 45 CDMSessionAVFoundation(CDMPrivateAVFoundation* parent); |
46 virtual ~CDMSessionAVFoundation() { } | 46 virtual ~CDMSessionAVFoundation() { } |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 errorCode = 0; | 146 errorCode = 0; |
147 systemCode = 0; | 147 systemCode = 0; |
148 nextMessage = nullptr; | 148 nextMessage = nullptr; |
149 | 149 |
150 return true; | 150 return true; |
151 } | 151 } |
152 | 152 |
153 } | 153 } |
154 | 154 |
155 #endif | 155 #endif |
OLD | NEW |