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

Side by Side Diff: content/renderer/media/rtc_media_constraints.cc

Issue 15462003: Update references to Blink's Platform API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "content/renderer/media/rtc_media_constraints.h" 4 #include "content/renderer/media/rtc_media_constraints.h"
5 5
6 #include "base/logging.h" 6 #include "base/logging.h"
7 7
8 #include "content/common/media/media_stream_options.h" 8 #include "content/common/media/media_stream_options.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaConstraints .h" 9 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" 10 #include "third_party/WebKit/public/platform/WebCString.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 11 #include "third_party/WebKit/public/platform/WebString.h"
12 12
13 namespace content { 13 namespace content {
14 namespace { 14 namespace {
15 15
16 void GetNativeMediaConstraints( 16 void GetNativeMediaConstraints(
17 const WebKit::WebVector<WebKit::WebMediaConstraint>& constraints, 17 const WebKit::WebVector<WebKit::WebMediaConstraint>& constraints,
18 webrtc::MediaConstraintsInterface::Constraints* native_constraints) { 18 webrtc::MediaConstraintsInterface::Constraints* native_constraints) {
19 DCHECK(native_constraints); 19 DCHECK(native_constraints);
20 for (size_t i = 0; i < constraints.size(); ++i) { 20 for (size_t i = 0; i < constraints.size(); ++i) {
21 webrtc::MediaConstraintsInterface::Constraint new_constraint; 21 webrtc::MediaConstraintsInterface::Constraint new_constraint;
(...skipping 30 matching lines...) Expand all
52 RTCMediaConstraints::GetMandatory() const { 52 RTCMediaConstraints::GetMandatory() const {
53 return mandatory_; 53 return mandatory_;
54 } 54 }
55 55
56 const webrtc::MediaConstraintsInterface::Constraints& 56 const webrtc::MediaConstraintsInterface::Constraints&
57 RTCMediaConstraints::GetOptional() const { 57 RTCMediaConstraints::GetOptional() const {
58 return optional_; 58 return optional_;
59 } 59 }
60 60
61 } // namespace content 61 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/rtc_dtmf_sender_handler.h ('k') | content/renderer/media/rtc_peer_connection_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698