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

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

Issue 12210030: Linux/ChromeOS Chromium style checker cleanup, content/ edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 } 101 }
102 virtual webrtc::AudioTracks* audio_tracks() OVERRIDE { 102 virtual webrtc::AudioTracks* audio_tracks() OVERRIDE {
103 return audio_tracks_; 103 return audio_tracks_;
104 } 104 }
105 virtual webrtc::VideoTracks* video_tracks() OVERRIDE { 105 virtual webrtc::VideoTracks* video_tracks() OVERRIDE {
106 return video_tracks_; 106 return video_tracks_;
107 } 107 }
108 virtual void RegisterObserver(ObserverInterface* observer) OVERRIDE { 108 virtual void RegisterObserver(ObserverInterface* observer) OVERRIDE {
109 NOTIMPLEMENTED(); 109 NOTIMPLEMENTED();
110 } 110 }
111 virtual void UnregisterObserver(ObserverInterface* observer) { 111 virtual void UnregisterObserver(ObserverInterface* observer) OVERRIDE {
112 NOTIMPLEMENTED(); 112 NOTIMPLEMENTED();
113 } 113 }
114 114
115 protected: 115 protected:
116 virtual ~MockLocalMediaStream() {} 116 virtual ~MockLocalMediaStream() {}
117 117
118 private: 118 private:
119 std::string label_; 119 std::string label_;
120 scoped_refptr<MockAudioTracks> audio_tracks_; 120 scoped_refptr<MockAudioTracks> audio_tracks_;
121 scoped_refptr<MockVideoTracks> video_tracks_; 121 scoped_refptr<MockVideoTracks> video_tracks_;
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 483
484 webrtc::IceCandidateInterface* 484 webrtc::IceCandidateInterface*
485 MockMediaStreamDependencyFactory::CreateIceCandidate( 485 MockMediaStreamDependencyFactory::CreateIceCandidate(
486 const std::string& sdp_mid, 486 const std::string& sdp_mid,
487 int sdp_mline_index, 487 int sdp_mline_index,
488 const std::string& sdp) { 488 const std::string& sdp) {
489 return new MockIceCandidate(sdp_mid, sdp_mline_index, sdp); 489 return new MockIceCandidate(sdp_mid, sdp_mline_index, sdp);
490 } 490 }
491 491
492 } // namespace content 492 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_impl_unittest.cc ('k') | content/renderer/media/mock_peer_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698