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

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

Issue 16756003: Use a direct include of strings headers in content/renderer and content/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "content/common/media/media_stream_options.h" 8 #include "content/common/media/media_stream_options.h"
9 #include "third_party/WebKit/public/platform/WebMediaConstraints.h" 9 #include "third_party/WebKit/public/platform/WebMediaConstraints.h"
10 #include "third_party/WebKit/public/platform/WebCString.h" 10 #include "third_party/WebKit/public/platform/WebCString.h"
11 #include "third_party/WebKit/public/platform/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,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 RTCMediaConstraints::GetOptional() const { 65 RTCMediaConstraints::GetOptional() const {
66 return optional_; 66 return optional_;
67 } 67 }
68 68
69 void RTCMediaConstraints::AddOptional(const std::string& key, 69 void RTCMediaConstraints::AddOptional(const std::string& key,
70 const std::string& value) { 70 const std::string& value) {
71 optional_.push_back(Constraint(key, value)); 71 optional_.push_back(Constraint(key, value));
72 } 72 }
73 73
74 } // namespace content 74 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/mock_media_stream_dispatcher.cc ('k') | content/renderer/media/webrtc_audio_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698