| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_RENDERER_MEDIA_RTC_MEDIA_CONSTRAINTS_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_MEDIA_CONSTRAINTS_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_RTC_MEDIA_CONSTRAINTS_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_MEDIA_CONSTRAINTS_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "third_party/libjingle/source/talk/app/webrtc/mediaconstraintsinterface
.h" | 10 #include "third_party/webrtc/api/mediaconstraintsinterface.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 class WebMediaConstraints; | 13 class WebMediaConstraints; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 // RTCMediaConstraints acts as a glue layer between WebKits MediaConstraints and | 18 // RTCMediaConstraints acts as a glue layer between WebKits MediaConstraints and |
| 19 // libjingle webrtc::MediaConstraintsInterface. | 19 // libjingle webrtc::MediaConstraintsInterface. |
| 20 // Constraints are used by PeerConnection and getUserMedia API calls. | 20 // Constraints are used by PeerConnection and getUserMedia API calls. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 const std::string& value, | 42 const std::string& value, |
| 43 bool override_if_exists); | 43 bool override_if_exists); |
| 44 Constraints mandatory_; | 44 Constraints mandatory_; |
| 45 Constraints optional_; | 45 Constraints optional_; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace content | 48 } // namespace content |
| 49 | 49 |
| 50 | 50 |
| 51 #endif // CONTENT_RENDERER_MEDIA_RTC_MEDIA_CONSTRAINTS_H_ | 51 #endif // CONTENT_RENDERER_MEDIA_RTC_MEDIA_CONSTRAINTS_H_ |
| OLD | NEW |