|
Lines 66-77
+ (NSArray *)pendingExpiredSessionReportsWithAppIdentifier:(NSData *)appIdentifi
a/Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm_sec1
|
| 66 |
+ (void)removePendingExpiredSessionReports:(NSArray *)expiredSessionReports withAppIdentifier:(NSData *)appIdentifier storageDirectoryAtURL:(NSURL *)storageURL; |
66 |
+ (void)removePendingExpiredSessionReports:(NSArray *)expiredSessionReports withAppIdentifier:(NSData *)appIdentifier storageDirectoryAtURL:(NSURL *)storageURL; |
| 67 |
@end |
67 |
@end |
| 68 |
|
68 |
|
| 69 |
@interface CDMSessionAVStreamSessionObserver : NSObject { |
69 |
@interface WebCDMSessionAVStreamSessionObserver : NSObject { |
| 70 |
WebCore::CDMSessionAVStreamSession *m_parent; |
70 |
WebCore::CDMSessionAVStreamSession *m_parent; |
| 71 |
} |
71 |
} |
| 72 |
@end |
72 |
@end |
| 73 |
|
73 |
|
| 74 |
@implementation CDMSessionAVStreamSessionObserver |
74 |
@implementation WebCDMSessionAVStreamSessionObserver |
| 75 |
- (id)initWithParent:(WebCore::CDMSessionAVStreamSession *)parent |
75 |
- (id)initWithParent:(WebCore::CDMSessionAVStreamSession *)parent |
| 76 |
{ |
76 |
{ |
| 77 |
if ((self = [super init])) |
77 |
if ((self = [super init])) |
|
Lines 98-104
namespace WebCore {
a/Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm_sec2
|
| 98 |
CDMSessionAVStreamSession::CDMSessionAVStreamSession(const Vector<int>& protocolVersions, CDMPrivateMediaSourceAVFObjC& cdm, CDMSessionClient* client) |
98 |
CDMSessionAVStreamSession::CDMSessionAVStreamSession(const Vector<int>& protocolVersions, CDMPrivateMediaSourceAVFObjC& cdm, CDMSessionClient* client) |
| 99 |
: CDMSessionMediaSourceAVFObjC(cdm, client) |
99 |
: CDMSessionMediaSourceAVFObjC(cdm, client) |
| 100 |
, m_weakPtrFactory(this) |
100 |
, m_weakPtrFactory(this) |
| 101 |
, m_dataParserObserver(adoptNS([[CDMSessionAVStreamSessionObserver alloc] initWithParent:this])) |
101 |
, m_dataParserObserver(adoptNS([[WebCDMSessionAVStreamSessionObserver alloc] initWithParent:this])) |
| 102 |
, m_protocolVersions(protocolVersions) |
102 |
, m_protocolVersions(protocolVersions) |
| 103 |
, m_mode(Normal) |
103 |
, m_mode(Normal) |
| 104 |
{ |
104 |
{ |