| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/media/media_stream_video_source.h" | 5 #include "content/renderer/media/media_stream_video_source.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
| 14 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
| 15 #include "content/child/child_process.h" | 15 #include "content/child/child_process.h" |
| 16 #include "content/renderer/media/media_stream_constraints_util_video_source.h" | 16 #include "content/renderer/media/media_stream_constraints_util_video_device.h" |
| 17 #include "content/renderer/media/media_stream_video_track.h" | 17 #include "content/renderer/media/media_stream_video_track.h" |
| 18 #include "content/renderer/media/video_track_adapter.h" | 18 #include "content/renderer/media/video_track_adapter.h" |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| 24 const char* const kLegalVideoConstraints[] = {"width", | 24 const char* const kLegalVideoConstraints[] = {"width", |
| 25 "height", | 25 "height", |
| 26 "aspectRatio", | 26 "aspectRatio", |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 callback(callback) { | 623 callback(callback) { |
| 624 } | 624 } |
| 625 | 625 |
| 626 MediaStreamVideoSource::TrackDescriptor::TrackDescriptor( | 626 MediaStreamVideoSource::TrackDescriptor::TrackDescriptor( |
| 627 const TrackDescriptor& other) = default; | 627 const TrackDescriptor& other) = default; |
| 628 | 628 |
| 629 MediaStreamVideoSource::TrackDescriptor::~TrackDescriptor() { | 629 MediaStreamVideoSource::TrackDescriptor::~TrackDescriptor() { |
| 630 } | 630 } |
| 631 | 631 |
| 632 } // namespace content | 632 } // namespace content |
| OLD | NEW |