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

Side by Side Diff: content/renderer/media/webrtc/mock_peer_connection_dependency_factory.h

Issue 1753573004: Delete obsolete method FrameInput from MockVideoSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 MockVideoSource(bool remote); 38 MockVideoSource(bool remote);
39 39
40 void RegisterObserver(webrtc::ObserverInterface* observer) override; 40 void RegisterObserver(webrtc::ObserverInterface* observer) override;
41 void UnregisterObserver(webrtc::ObserverInterface* observer) override; 41 void UnregisterObserver(webrtc::ObserverInterface* observer) override;
42 MediaSourceInterface::SourceState state() const override; 42 MediaSourceInterface::SourceState state() const override;
43 bool remote() const override; 43 bool remote() const override;
44 cricket::VideoCapturer* GetVideoCapturer() override; 44 cricket::VideoCapturer* GetVideoCapturer() override;
45 void AddSink(rtc::VideoSinkInterface<cricket::VideoFrame>* output) override; 45 void AddSink(rtc::VideoSinkInterface<cricket::VideoFrame>* output) override;
46 void RemoveSink( 46 void RemoveSink(
47 rtc::VideoSinkInterface<cricket::VideoFrame>* output) override; 47 rtc::VideoSinkInterface<cricket::VideoFrame>* output) override;
48 cricket::VideoRenderer* FrameInput() override;
49 const cricket::VideoOptions* options() const override; 48 const cricket::VideoOptions* options() const override;
50 void Stop() override; 49 void Stop() override;
51 void Restart() override; 50 void Restart() override;
52 51
53 // Changes the state of the source to live and notifies the observer. 52 // Changes the state of the source to live and notifies the observer.
54 void SetLive(); 53 void SetLive();
55 // Changes the state of the source to ended and notifies the observer. 54 // Changes the state of the source to ended and notifies the observer.
56 void SetEnded(); 55 void SetEnded();
57 // Set the video capturer. 56 // Set the video capturer.
58 void SetVideoCapturer(cricket::VideoCapturer* capturer); 57 void SetVideoCapturer(cricket::VideoCapturer* capturer);
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 bool fail_to_create_next_audio_capturer_; 225 bool fail_to_create_next_audio_capturer_;
227 scoped_refptr <MockAudioSource> last_audio_source_; 226 scoped_refptr <MockAudioSource> last_audio_source_;
228 scoped_refptr <MockVideoSource> last_video_source_; 227 scoped_refptr <MockVideoSource> last_video_source_;
229 228
230 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionDependencyFactory); 229 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionDependencyFactory);
231 }; 230 };
232 231
233 } // namespace content 232 } // namespace content
234 233
235 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY _H_ 234 #endif // CONTENT_RENDERER_MEDIA_WEBRTC_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY _H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/webrtc/mock_peer_connection_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698