Chromium Code Reviews| Index: webrtc/api/video/video_content_type.h |
| diff --git a/webrtc/test/constants.cc b/webrtc/api/video/video_content_type.h |
| similarity index 53% |
| copy from webrtc/test/constants.cc |
| copy to webrtc/api/video/video_content_type.h |
| index 43f9adc3340d152fab49c5c18671374d226adfb2..3416acba74cdf539a64ff0dae4dad45633f18db8 100644 |
| --- a/webrtc/test/constants.cc |
| +++ b/webrtc/api/video/video_content_type.h |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| + * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
| * |
| * Use of this source code is governed by a BSD-style license |
| * that can be found in the LICENSE file in the root of the source |
| @@ -8,14 +8,17 @@ |
| * be found in the AUTHORS file in the root of the source tree. |
| */ |
| -#include "webrtc/test/constants.h" |
| +#ifndef WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_ |
| +#define WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_ |
| namespace webrtc { |
| -namespace test { |
| -const int kTOffsetExtensionId = 6; |
| -const int kAbsSendTimeExtensionId = 7; |
| -const int kTransportSequenceNumberExtensionId = 8; |
| -const int kVideoRotationExtensionId = 9; |
| -} // namespace test |
| +enum class VideoContentType { |
| + kUnspecified = 0, |
|
tommi
2017/04/10 10:59:18
This should be UNSPECIFIED, SCREENSHARE, TOTAL_CON
ilnik
2017/04/10 12:47:42
Done.
|
| + kScreenshare = 1, |
| + kTotalContentTypes // Must be the last value in the enum. |
| +}; |
| + |
| } // namespace webrtc |
| + |
| +#endif // WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_ |