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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // Session properties. | 119 // Session properties. |
120 String m_sessionType; | 120 String m_sessionType; |
121 double m_expiration; | 121 double m_expiration; |
122 | 122 |
123 // Session states. | 123 // Session states. |
124 bool m_isUninitialized; | 124 bool m_isUninitialized; |
125 bool m_isCallable; | 125 bool m_isCallable; |
126 bool m_isClosed; // Is the CDM finished with this session? | 126 bool m_isClosed; // Is the CDM finished with this session? |
127 | 127 |
128 // Keep track of the closed promise. | 128 // Keep track of the closed promise. |
129 typedef ScriptPromiseProperty<Member<MediaKeySession>, ToV8UndefinedGenerato
r, RefPtrWillBeMember<DOMException> > ClosedPromise; | 129 typedef ScriptPromiseProperty<Member<MediaKeySession>, ToV8UndefinedGenerato
r, RefPtrWillBeMember<DOMException>> ClosedPromise; |
130 Member<ClosedPromise> m_closedPromise; | 130 Member<ClosedPromise> m_closedPromise; |
131 | 131 |
132 HeapDeque<Member<PendingAction> > m_pendingActions; | 132 HeapDeque<Member<PendingAction>> m_pendingActions; |
133 Timer<MediaKeySession> m_actionTimer; | 133 Timer<MediaKeySession> m_actionTimer; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace blink | 136 } // namespace blink |
137 | 137 |
138 #endif // MediaKeySession_h | 138 #endif // MediaKeySession_h |
OLD | NEW |