Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.cpp

Issue 2856173004: Clean up bindings/core/v8 (Part 5) (Closed)
Patch Set: Fix build Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 11 matching lines...) Expand all
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 * THE POSSIBILITY OF SUCH DAMAGE. 23 * THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "modules/encryptedmedia/MediaKeySession.h" 26 #include "modules/encryptedmedia/MediaKeySession.h"
27 27
28 #include <cmath> 28 #include <cmath>
29 #include <limits> 29 #include <limits>
30 #include "bindings/core/v8/ScriptPromise.h" 30 #include "bindings/core/v8/ScriptPromise.h"
31 #include "bindings/core/v8/ScriptPromiseResolver.h" 31 #include "bindings/core/v8/ScriptPromiseResolver.h"
32 #include "bindings/core/v8/V8ThrowException.h"
33 #include "core/dom/DOMArrayBuffer.h" 32 #include "core/dom/DOMArrayBuffer.h"
34 #include "core/dom/DOMException.h" 33 #include "core/dom/DOMException.h"
35 #include "core/dom/ExceptionCode.h" 34 #include "core/dom/ExceptionCode.h"
36 #include "core/dom/ExecutionContext.h" 35 #include "core/dom/ExecutionContext.h"
37 #include "core/dom/TaskRunnerHelper.h" 36 #include "core/dom/TaskRunnerHelper.h"
38 #include "core/events/Event.h" 37 #include "core/events/Event.h"
39 #include "core/events/GenericEventQueue.h" 38 #include "core/events/GenericEventQueue.h"
40 #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h" 39 #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h"
41 #include "modules/encryptedmedia/EncryptedMediaUtils.h" 40 #include "modules/encryptedmedia/EncryptedMediaUtils.h"
42 #include "modules/encryptedmedia/MediaKeyMessageEvent.h" 41 #include "modules/encryptedmedia/MediaKeyMessageEvent.h"
43 #include "modules/encryptedmedia/MediaKeys.h" 42 #include "modules/encryptedmedia/MediaKeys.h"
44 #include "platform/ContentDecryptionModuleResult.h" 43 #include "platform/ContentDecryptionModuleResult.h"
45 #include "platform/InstanceCounters.h" 44 #include "platform/InstanceCounters.h"
46 #include "platform/Timer.h" 45 #include "platform/Timer.h"
47 #include "platform/bindings/DOMWrapperWorld.h" 46 #include "platform/bindings/DOMWrapperWorld.h"
48 #include "platform/bindings/ScriptState.h" 47 #include "platform/bindings/ScriptState.h"
48 #include "platform/bindings/V8ThrowException.h"
49 #include "platform/network/mime/ContentType.h" 49 #include "platform/network/mime/ContentType.h"
50 #include "platform/wtf/ASCIICType.h" 50 #include "platform/wtf/ASCIICType.h"
51 #include "platform/wtf/PtrUtil.h" 51 #include "platform/wtf/PtrUtil.h"
52 #include "public/platform/WebContentDecryptionModule.h" 52 #include "public/platform/WebContentDecryptionModule.h"
53 #include "public/platform/WebContentDecryptionModuleException.h" 53 #include "public/platform/WebContentDecryptionModuleException.h"
54 #include "public/platform/WebContentDecryptionModuleSession.h" 54 #include "public/platform/WebContentDecryptionModuleSession.h"
55 #include "public/platform/WebEncryptedMediaKeyInformation.h" 55 #include "public/platform/WebEncryptedMediaKeyInformation.h"
56 #include "public/platform/WebString.h" 56 #include "public/platform/WebString.h"
57 #include "public/platform/WebURL.h" 57 #include "public/platform/WebURL.h"
58 58
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 visitor->Trace(async_event_queue_); 1042 visitor->Trace(async_event_queue_);
1043 visitor->Trace(pending_actions_); 1043 visitor->Trace(pending_actions_);
1044 visitor->Trace(media_keys_); 1044 visitor->Trace(media_keys_);
1045 visitor->Trace(key_statuses_map_); 1045 visitor->Trace(key_statuses_map_);
1046 visitor->Trace(closed_promise_); 1046 visitor->Trace(closed_promise_);
1047 EventTargetWithInlineData::Trace(visitor); 1047 EventTargetWithInlineData::Trace(visitor);
1048 ContextLifecycleObserver::Trace(visitor); 1048 ContextLifecycleObserver::Trace(visitor);
1049 } 1049 }
1050 1050
1051 } // namespace blink 1051 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698