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

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

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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 4
5 #include "content/renderer/media/mock_media_stream_dependency_factory.h" 5 #include "content/renderer/media/mock_media_stream_dependency_factory.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/renderer/media/mock_peer_connection_impl.h" 8 #include "content/renderer/media/mock_peer_connection_impl.h"
9 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h" 9 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h"
10 #include "third_party/libjingle/source/talk/base/scoped_ref_ptr.h" 10 #include "third_party/libjingle/source/talk/base/scoped_ref_ptr.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 NOTIMPLEMENTED(); 196 NOTIMPLEMENTED();
197 } 197 }
198 198
199 cricket::VideoRenderer* MockLocalVideoTrack::FrameInput() { 199 cricket::VideoRenderer* MockLocalVideoTrack::FrameInput() {
200 NOTIMPLEMENTED(); 200 NOTIMPLEMENTED();
201 return NULL; 201 return NULL;
202 } 202 }
203 203
204 std::string MockLocalVideoTrack::kind() const { 204 std::string MockLocalVideoTrack::kind() const {
205 NOTIMPLEMENTED(); 205 NOTIMPLEMENTED();
206 return ""; 206 return std::string();
207 } 207 }
208 208
209 std::string MockLocalVideoTrack::id() const { return id_; } 209 std::string MockLocalVideoTrack::id() const { return id_; }
210 210
211 bool MockLocalVideoTrack::enabled() const { return enabled_; } 211 bool MockLocalVideoTrack::enabled() const { return enabled_; }
212 212
213 MockLocalVideoTrack::TrackState MockLocalVideoTrack::state() const { 213 MockLocalVideoTrack::TrackState MockLocalVideoTrack::state() const {
214 NOTIMPLEMENTED(); 214 NOTIMPLEMENTED();
215 return kInitializing; 215 return kInitializing;
216 } 216 }
(...skipping 15 matching lines...) Expand all
232 void MockLocalVideoTrack::UnregisterObserver(ObserverInterface* observer) { 232 void MockLocalVideoTrack::UnregisterObserver(ObserverInterface* observer) {
233 NOTIMPLEMENTED(); 233 NOTIMPLEMENTED();
234 } 234 }
235 235
236 VideoSourceInterface* MockLocalVideoTrack::GetSource() const { 236 VideoSourceInterface* MockLocalVideoTrack::GetSource() const {
237 return source_; 237 return source_;
238 } 238 }
239 239
240 std::string MockLocalAudioTrack::kind() const { 240 std::string MockLocalAudioTrack::kind() const {
241 NOTIMPLEMENTED(); 241 NOTIMPLEMENTED();
242 return ""; 242 return std::string();
243 } 243 }
244 244
245 std::string MockLocalAudioTrack::id() const { return id_; } 245 std::string MockLocalAudioTrack::id() const { return id_; }
246 246
247 bool MockLocalAudioTrack::enabled() const { return enabled_; } 247 bool MockLocalAudioTrack::enabled() const { return enabled_; }
248 248
249 MockLocalVideoTrack::TrackState MockLocalAudioTrack::state() const { 249 MockLocalVideoTrack::TrackState MockLocalAudioTrack::state() const {
250 NOTIMPLEMENTED(); 250 NOTIMPLEMENTED();
251 return kInitializing; 251 return kInitializing;
252 } 252 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 virtual cricket::SessionDescription* description() OVERRIDE { 285 virtual cricket::SessionDescription* description() OVERRIDE {
286 NOTIMPLEMENTED(); 286 NOTIMPLEMENTED();
287 return NULL; 287 return NULL;
288 } 288 }
289 virtual const cricket::SessionDescription* description() const OVERRIDE { 289 virtual const cricket::SessionDescription* description() const OVERRIDE {
290 NOTIMPLEMENTED(); 290 NOTIMPLEMENTED();
291 return NULL; 291 return NULL;
292 } 292 }
293 virtual std::string session_id() const OVERRIDE { 293 virtual std::string session_id() const OVERRIDE {
294 NOTIMPLEMENTED(); 294 NOTIMPLEMENTED();
295 return ""; 295 return std::string();
296 } 296 }
297 virtual std::string session_version() const OVERRIDE { 297 virtual std::string session_version() const OVERRIDE {
298 NOTIMPLEMENTED(); 298 NOTIMPLEMENTED();
299 return ""; 299 return std::string();
300 } 300 }
301 virtual std::string type() const OVERRIDE { 301 virtual std::string type() const OVERRIDE {
302 return type_; 302 return type_;
303 } 303 }
304 virtual bool AddCandidate(const IceCandidateInterface* candidate) OVERRIDE { 304 virtual bool AddCandidate(const IceCandidateInterface* candidate) OVERRIDE {
305 NOTIMPLEMENTED(); 305 NOTIMPLEMENTED();
306 return false; 306 return false;
307 } 307 }
308 virtual size_t number_of_mediasections() const OVERRIDE { 308 virtual size_t number_of_mediasections() const OVERRIDE {
309 NOTIMPLEMENTED(); 309 NOTIMPLEMENTED();
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 450
451 webrtc::IceCandidateInterface* 451 webrtc::IceCandidateInterface*
452 MockMediaStreamDependencyFactory::CreateIceCandidate( 452 MockMediaStreamDependencyFactory::CreateIceCandidate(
453 const std::string& sdp_mid, 453 const std::string& sdp_mid,
454 int sdp_mline_index, 454 int sdp_mline_index,
455 const std::string& sdp) { 455 const std::string& sdp) {
456 return new MockIceCandidate(sdp_mid, sdp_mline_index, sdp); 456 return new MockIceCandidate(sdp_mid, sdp_mline_index, sdp);
457 } 457 }
458 458
459 } // namespace content 459 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/date_time_formatter.cc ('k') | content/renderer/media/peer_connection_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698