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

Side by Side Diff: Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.h

Issue 691613002: Oilpan: fix build after r184599. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef NavigatorRequestMediaKeySystemAccess_h 5 #ifndef NavigatorRequestMediaKeySystemAccess_h
6 #define NavigatorRequestMediaKeySystemAccess_h 6 #define NavigatorRequestMediaKeySystemAccess_h
7 7
8 #include "bindings/core/v8/Dictionary.h" 8 #include "bindings/core/v8/Dictionary.h"
9 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/V8Binding.h" 10 #include "bindings/core/v8/V8Binding.h"
11 #include "bindings/modules/v8/V8MediaKeySystemOptions.h" 11 #include "bindings/modules/v8/V8MediaKeySystemOptions.h"
12 #include "core/frame/Navigator.h" 12 #include "core/frame/Navigator.h"
13 #include "modules/encryptedmedia/MediaKeySystemOptions.h" 13 #include "modules/encryptedmedia/MediaKeySystemOptions.h"
14 #include "platform/Supplementable.h" 14 #include "platform/Supplementable.h"
15 #include "platform/heap/Handle.h" 15 #include "platform/heap/Handle.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class NavigatorRequestMediaKeySystemAccess final : public NoBaseWillBeGarbageCol lected<NavigatorRequestMediaKeySystemAccess>, public WillBeHeapSupplement<Naviga tor> { 19 class NavigatorRequestMediaKeySystemAccess final : public NoBaseWillBeGarbageCol lectedFinalized<NavigatorRequestMediaKeySystemAccess>, public WillBeHeapSuppleme nt<Navigator> {
20 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorRequestMediaKeySystemAccess);
20 public: 21 public:
21 virtual ~NavigatorRequestMediaKeySystemAccess(); 22 virtual ~NavigatorRequestMediaKeySystemAccess();
22 23
23 static NavigatorRequestMediaKeySystemAccess& from(Navigator&); 24 static NavigatorRequestMediaKeySystemAccess& from(Navigator&);
24 25
25 static ScriptPromise requestMediaKeySystemAccess( 26 static ScriptPromise requestMediaKeySystemAccess(
26 ScriptState*, 27 ScriptState*,
27 Navigator&, 28 Navigator&,
28 const String& keySystem); 29 const String& keySystem);
29 static ScriptPromise requestMediaKeySystemAccess( 30 static ScriptPromise requestMediaKeySystemAccess(
(...skipping 22 matching lines...) Expand all
52 { 53 {
53 MediaKeySystemOptions impl; 54 MediaKeySystemOptions impl;
54 V8MediaKeySystemOptions::toImpl(isolate, value, impl, exceptionState); 55 V8MediaKeySystemOptions::toImpl(isolate, value, impl, exceptionState);
55 return impl; 56 return impl;
56 } 57 }
57 }; 58 };
58 59
59 } // namespace blink 60 } // namespace blink
60 61
61 #endif // NavigatorRequestMediaKeySystemAccess_h 62 #endif // NavigatorRequestMediaKeySystemAccess_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698