| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2013 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 const String& keySystem() const { return m_keySystem; } | 74 const String& keySystem() const { return m_keySystem; } |
| 75 String sessionId() const; | 75 String sessionId() const; |
| 76 | 76 |
| 77 void setError(MediaKeyError*); | 77 void setError(MediaKeyError*); |
| 78 MediaKeyError* error() { return m_error.get(); } | 78 MediaKeyError* error() { return m_error.get(); } |
| 79 | 79 |
| 80 void initializeNewSession(const String& mimeType, const Uint8Array& initData
); | 80 void initializeNewSession(const String& mimeType, const Uint8Array& initData
); |
| 81 void update(Uint8Array* response, ExceptionState&); | 81 void update(Uint8Array* response, ExceptionState&); |
| 82 void release(ExceptionState&); | 82 void release(ExceptionState&); |
| 83 | 83 |
| 84 void enqueueEvent(PassRefPtr<Event>); | 84 void enqueueEvent(PassRefPtrWillBeRawPtr<Event>); |
| 85 | 85 |
| 86 // EventTarget | 86 // EventTarget |
| 87 virtual const AtomicString& interfaceName() const OVERRIDE; | 87 virtual const AtomicString& interfaceName() const OVERRIDE; |
| 88 virtual ExecutionContext* executionContext() const OVERRIDE; | 88 virtual ExecutionContext* executionContext() const OVERRIDE; |
| 89 | 89 |
| 90 // ActiveDOMObject | 90 // ActiveDOMObject |
| 91 virtual bool hasPendingActivity() const OVERRIDE; | 91 virtual bool hasPendingActivity() const OVERRIDE; |
| 92 virtual void stop() OVERRIDE; | 92 virtual void stop() OVERRIDE; |
| 93 | 93 |
| 94 void trace(Visitor*) { } | 94 void trace(Visitor*) { } |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // Is the CDM finished with this session? | 131 // Is the CDM finished with this session? |
| 132 bool m_isClosed; | 132 bool m_isClosed; |
| 133 | 133 |
| 134 Deque<OwnPtr<PendingAction> > m_pendingActions; | 134 Deque<OwnPtr<PendingAction> > m_pendingActions; |
| 135 Timer<MediaKeySession> m_actionTimer; | 135 Timer<MediaKeySession> m_actionTimer; |
| 136 }; | 136 }; |
| 137 | 137 |
| 138 } | 138 } |
| 139 | 139 |
| 140 #endif // MediaKeySession_h | 140 #endif // MediaKeySession_h |
| OLD | NEW |