| 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 29 matching lines...) Expand all Loading... |
| 40 #include "platform/ContentDecryptionModuleResult.h" | 40 #include "platform/ContentDecryptionModuleResult.h" |
| 41 #include "platform/Logging.h" | 41 #include "platform/Logging.h" |
| 42 #include "platform/Timer.h" | 42 #include "platform/Timer.h" |
| 43 #include "public/platform/WebContentDecryptionModule.h" | 43 #include "public/platform/WebContentDecryptionModule.h" |
| 44 #include "public/platform/WebContentDecryptionModuleException.h" | 44 #include "public/platform/WebContentDecryptionModuleException.h" |
| 45 #include "public/platform/WebContentDecryptionModuleSession.h" | 45 #include "public/platform/WebContentDecryptionModuleSession.h" |
| 46 #include "public/platform/WebString.h" | 46 #include "public/platform/WebString.h" |
| 47 #include "public/platform/WebURL.h" | 47 #include "public/platform/WebURL.h" |
| 48 #include "wtf/Uint8Array.h" | 48 #include "wtf/Uint8Array.h" |
| 49 | 49 |
| 50 namespace WebCore { | 50 namespace blink { |
| 51 | 51 |
| 52 // A class holding a pending action. | 52 // A class holding a pending action. |
| 53 class MediaKeySession::PendingAction : public GarbageCollectedFinalized<MediaKey
Session::PendingAction> { | 53 class MediaKeySession::PendingAction : public GarbageCollectedFinalized<MediaKey
Session::PendingAction> { |
| 54 public: | 54 public: |
| 55 enum Type { | 55 enum Type { |
| 56 Update, | 56 Update, |
| 57 Release | 57 Release |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 Type type() const { return m_type; } | 60 Type type() const { return m_type; } |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 void MediaKeySession::trace(Visitor* visitor) | 554 void MediaKeySession::trace(Visitor* visitor) |
| 555 { | 555 { |
| 556 visitor->trace(m_error); | 556 visitor->trace(m_error); |
| 557 visitor->trace(m_asyncEventQueue); | 557 visitor->trace(m_asyncEventQueue); |
| 558 visitor->trace(m_pendingActions); | 558 visitor->trace(m_pendingActions); |
| 559 visitor->trace(m_keys); | 559 visitor->trace(m_keys); |
| 560 EventTargetWithInlineData::trace(visitor); | 560 EventTargetWithInlineData::trace(visitor); |
| 561 } | 561 } |
| 562 | 562 |
| 563 } | 563 } |
| OLD | NEW |