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

Unified Diff: media/mojo/interfaces/media_types.mojom

Issue 826953002: replace COMPILE_ASSERT with static_assert in media/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 5 years, 11 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
« no previous file with comments | « media/formats/webm/webm_cluster_parser_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/media_types.mojom
diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom
index d9d2642659d82dd889002e74941d94d249fe734d..417bf97336c4569149ff40aa05f3fb620e27bf87 100644
--- a/media/mojo/interfaces/media_types.mojom
+++ b/media/mojo/interfaces/media_types.mojom
@@ -7,14 +7,14 @@ module mojo;
import "mojo/services/geometry/public/interfaces/geometry.mojom";
// See media/base/buffering_state.h for descriptions.
-// Kept in sync with media::BufferingState via COMPILE_ASSERTs.
+// Kept in sync with media::BufferingState via static_asserts.
enum BufferingState {
HAVE_NOTHING,
HAVE_ENOUGH,
};
// See media/base/audio_decoder_config.h for descriptions.
-// Kept in sync with media::AudioCodec via COMPILE_ASSERTs.
+// Kept in sync with media::AudioCodec via static_asserts.
enum AudioCodec {
UNKNOWN = 0,
AAC = 1,
@@ -35,7 +35,7 @@ enum AudioCodec {
};
// See media/base/channel_layout.h for descriptions.
-// Kept in sync with media::ChannelLayout via COMPILE_ASSERTs.
+// Kept in sync with media::ChannelLayout via static_asserts.
// TODO(tim): The bindings generators will always prepend the enum name, should
// mojom therefore allow enum values starting with numbers?
enum ChannelLayout {
@@ -75,7 +75,7 @@ enum ChannelLayout {
};
// See media/base/sample_format.h for descriptions.
-// Kept in sync with media::SampleFormat via COMPILE_ASSERTs.
+// Kept in sync with media::SampleFormat via static_asserts.
enum SampleFormat {
UNKNOWN = 0,
U8,
@@ -88,7 +88,7 @@ enum SampleFormat {
};
// See media/base/video_frame.h for descriptions.
-// Kept in sync with media::VideoFrame::Format via COMPILE_ASSERTs.
+// Kept in sync with media::VideoFrame::Format via static_asserts.
enum VideoFormat {
UNKNOWN = 0,
YV12,
@@ -104,7 +104,7 @@ enum VideoFormat {
};
// See media/base/video_decoder_config.h for descriptions.
-// Kept in sync with media::VideoCodec via COMPILE_ASSERTs.
+// Kept in sync with media::VideoCodec via static_asserts.
enum VideoCodec {
UNKNOWN = 0,
H264,
@@ -118,7 +118,7 @@ enum VideoCodec {
};
// See media/base/video_decoder_config.h for descriptions.
-// Kept in sync with media::VideoCodecProfile via COMPILE_ASSERTs.
+// Kept in sync with media::VideoCodecProfile via static_asserts.
enum VideoCodecProfile {
VIDEO_CODEC_PROFILE_UNKNOWN = -1,
VIDEO_CODEC_PROFILE_MIN = VIDEO_CODEC_PROFILE_UNKNOWN,
« no previous file with comments | « media/formats/webm/webm_cluster_parser_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698