| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 MediaCapabilitiesInfo_h | 5 #ifndef MediaCapabilitiesInfo_h |
| 6 #define MediaCapabilitiesInfo_h | 6 #define MediaCapabilitiesInfo_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "platform/bindings/ScriptWrappable.h" |
| 11 #include "public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h" | 11 #include "public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ScriptPromiseResolver; | 15 class ScriptPromiseResolver; |
| 16 | 16 |
| 17 // Implementation of the MediaCapabilitiesInfo interface. | 17 // Implementation of the MediaCapabilitiesInfo interface. |
| 18 class MediaCapabilitiesInfo final | 18 class MediaCapabilitiesInfo final |
| 19 : public GarbageCollectedFinalized<MediaCapabilitiesInfo>, | 19 : public GarbageCollectedFinalized<MediaCapabilitiesInfo>, |
| 20 public ScriptWrappable { | 20 public ScriptWrappable { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 34 private: | 34 private: |
| 35 MediaCapabilitiesInfo() = delete; | 35 MediaCapabilitiesInfo() = delete; |
| 36 explicit MediaCapabilitiesInfo(std::unique_ptr<WebMediaCapabilitiesInfo>); | 36 explicit MediaCapabilitiesInfo(std::unique_ptr<WebMediaCapabilitiesInfo>); |
| 37 | 37 |
| 38 std::unique_ptr<WebMediaCapabilitiesInfo> web_media_capabilities_info_; | 38 std::unique_ptr<WebMediaCapabilitiesInfo> web_media_capabilities_info_; |
| 39 }; | 39 }; |
| 40 | 40 |
| 41 } // namespace blink | 41 } // namespace blink |
| 42 | 42 |
| 43 #endif // MediaCapabilitiesInfo_h | 43 #endif // MediaCapabilitiesInfo_h |
| OLD | NEW |