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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h" 5 #include "modules/encryptedmedia/HTMLMediaElementEncryptedMedia.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
11 #include "bindings/core/v8/V8ThrowException.h" 11 #include "bindings/core/v8/V8ThrowException.h"
12 #include "core/dom/DOMException.h" 12 #include "core/dom/DOMException.h"
13 #include "core/dom/DOMTypedArray.h" 13 #include "core/dom/DOMTypedArray.h"
14 #include "core/dom/ExceptionCode.h" 14 #include "core/dom/ExceptionCode.h"
15 #include "core/dom/TaskRunnerHelper.h" 15 #include "core/dom/TaskRunnerHelper.h"
16 #include "core/html/HTMLMediaElement.h" 16 #include "core/html/HTMLMediaElement.h"
17 #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h" 17 #include "modules/encryptedmedia/ContentDecryptionModuleResultPromise.h"
18 #include "modules/encryptedmedia/EncryptedMediaUtils.h" 18 #include "modules/encryptedmedia/EncryptedMediaUtils.h"
19 #include "modules/encryptedmedia/MediaEncryptedEvent.h" 19 #include "modules/encryptedmedia/MediaEncryptedEvent.h"
20 #include "modules/encryptedmedia/MediaKeys.h" 20 #include "modules/encryptedmedia/MediaKeys.h"
21 #include "platform/ContentDecryptionModuleResult.h" 21 #include "platform/ContentDecryptionModuleResult.h"
22 #include "wtf/Functional.h" 22 #include "platform/wtf/Functional.h"
23 23
24 #define EME_LOG_LEVEL 3 24 #define EME_LOG_LEVEL 3
25 25
26 namespace blink { 26 namespace blink {
27 27
28 // This class allows MediaKeys to be set asynchronously. 28 // This class allows MediaKeys to be set asynchronously.
29 class SetMediaKeysHandler : public ScriptPromiseResolver { 29 class SetMediaKeysHandler : public ScriptPromiseResolver {
30 WTF_MAKE_NONCOPYABLE(SetMediaKeysHandler); 30 WTF_MAKE_NONCOPYABLE(SetMediaKeysHandler);
31 31
32 public: 32 public:
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 return media_keys_ ? media_keys_->ContentDecryptionModule() : 0; 444 return media_keys_ ? media_keys_->ContentDecryptionModule() : 0;
445 } 445 }
446 446
447 DEFINE_TRACE(HTMLMediaElementEncryptedMedia) { 447 DEFINE_TRACE(HTMLMediaElementEncryptedMedia) {
448 visitor->Trace(media_element_); 448 visitor->Trace(media_element_);
449 visitor->Trace(media_keys_); 449 visitor->Trace(media_keys_);
450 Supplement<HTMLMediaElement>::Trace(visitor); 450 Supplement<HTMLMediaElement>::Trace(visitor);
451 } 451 }
452 452
453 } // namespace blink 453 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698