Chromium Code Reviews| Index: content/renderer/media/media_stream_video_source_constants.cc |
| diff --git a/content/renderer/media/media_stream_video_source_constants.cc b/content/renderer/media/media_stream_video_source_constants.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..47b4e7abee085b3c5addc3b4d4d5dc9cbfb75e8a |
| --- /dev/null |
| +++ b/content/renderer/media/media_stream_video_source_constants.cc |
| @@ -0,0 +1,17 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "content/renderer/media/media_stream_video_source.h" |
| + |
| +// TODO(mostynb): refactor webrtc code and move these back |
| +// into media_stream_video_source.cc - crbug.com/463829 |
| + |
| +namespace content { |
| + |
| +const int MediaStreamVideoSource::kDefaultWidth = 640; |
|
DaleCurtis
2015/03/04 19:21:30
Why not just stick these as enum {} in a shared he
Mostyn Bramley-Moore
2015/03/04 20:23:47
Actually why not keep them as static consts, but w
|
| +const int MediaStreamVideoSource::kDefaultHeight = 480; |
| +const int MediaStreamVideoSource::kDefaultFrameRate = 30; |
| +const int MediaStreamVideoSource::kUnknownFrameRate = 0; |
| + |
| +} // namespace content |