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

Unified Diff: content/public/common/assert_matching_enums.cc

Issue 254983006: Fix: Adding list of supported codecs for MP4 containers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding check for std::string::npos Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/assert_matching_enums.cc
diff --git a/content/public/common/assert_matching_enums.cc b/content/public/common/assert_matching_enums.cc
index 9a0e89884ce03655c156a2485a399229824d6e1d..a21ea1b823fbe82f8223705b6ac7fbbe2a1e8a72 100644
--- a/content/public/common/assert_matching_enums.cc
+++ b/content/public/common/assert_matching_enums.cc
@@ -7,6 +7,8 @@
#include "base/macros.h"
#include "content/public/common/screen_orientation_values.h"
+#include "net/base/mime_util.h"
+#include "third_party/WebKit/public/platform/WebMimeRegistry.h"
#include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
namespace content {
@@ -14,6 +16,7 @@ namespace content {
#define COMPILE_ASSERT_MATCHING_ENUM(expected, actual) \
COMPILE_ASSERT(int(expected) == int(actual), mismatching_enums)
+// ScreenOrientationValues
COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockDefault,
DEFAULT);
COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockPortraitPrimary,
@@ -31,4 +34,12 @@ COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockLandscape,
COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockPortrait,
PORTRAIT);
+// SupportsType
+COMPILE_ASSERT_MATCHING_ENUM(blink::WebMimeRegistry::IsNotSupported,
+ net::IsNotSupported);
+COMPILE_ASSERT_MATCHING_ENUM(blink::WebMimeRegistry::IsSupported,
+ net::IsSupported);
+COMPILE_ASSERT_MATCHING_ENUM(blink::WebMimeRegistry::MayBeSupported,
+ net::MayBeSupported);
+
} // namespace content
« no previous file with comments | « content/browser/media/media_canplaytype_browsertest.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698