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

Unified Diff: content/renderer/media/media_stream_video_source_constants.cc

Issue 973373002: fix for builds with webrtc disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: leave a TODO note Created 5 years, 10 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/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
« content/content_renderer.gypi ('K') | « content/renderer/media/media_stream_video_source.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698