Index: third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h |
diff --git a/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaDecodingAbility.h b/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h |
similarity index 52% |
rename from third_party/WebKit/public/platform/modules/media_capabilities/WebMediaDecodingAbility.h |
rename to third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h |
index 62917ca6a5d91a3b870bfb55bda19c9ec345bac5..7e968bff1688397f5d5e40e3d40b67f4f879f620 100644 |
--- a/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaDecodingAbility.h |
+++ b/third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h |
@@ -2,24 +2,24 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WebMediaDecodingAbility_h |
-#define WebMediaDecodingAbility_h |
+#ifndef WebMediaCapabilitiesInfo_h |
+#define WebMediaCapabilitiesInfo_h |
#include "public/platform/WebCallbacks.h" |
namespace blink { |
-// Represents a MediaDecodingAbility dictionary to be used outside of Blink. |
-// This is set by consumers and send back to Blink. |
-struct WebMediaDecodingAbility { |
+// Represents a MediaCapabilitiesInfo dictionary to be used outside of Blink. |
+// This is set by consumers and sent back to Blink. |
+struct WebMediaCapabilitiesInfo { |
bool supported = false; |
bool smooth = false; |
bool power_efficient = false; |
}; |
using WebMediaCapabilitiesQueryCallbacks = |
- WebCallbacks<std::unique_ptr<WebMediaDecodingAbility>, void>; |
+ WebCallbacks<std::unique_ptr<WebMediaCapabilitiesInfo>, void>; |
} // namespace blink |
-#endif // WebMediaDecodingAbility_h |
+#endif // WebMediaCapabilitiesInfo_h |