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 |