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

Unified Diff: content/renderer/media/mock_media_stream_dependency_factory.h

Issue 11828060: Roll libjingle 257:260. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/mock_media_stream_dependency_factory.h
===================================================================
--- content/renderer/media/mock_media_stream_dependency_factory.h (revision 176188)
+++ content/renderer/media/mock_media_stream_dependency_factory.h (working copy)
@@ -39,14 +39,14 @@
class MockLocalVideoTrack : public webrtc::VideoTrackInterface {
public:
- MockLocalVideoTrack(std::string label,
+ MockLocalVideoTrack(std::string id,
webrtc::VideoSourceInterface* source);
virtual void AddRenderer(webrtc::VideoRendererInterface* renderer) OVERRIDE;
virtual void RemoveRenderer(
webrtc::VideoRendererInterface* renderer) OVERRIDE;
virtual cricket::VideoRenderer* FrameInput() OVERRIDE;
virtual std::string kind() const OVERRIDE;
- virtual std::string label() const OVERRIDE;
+ virtual std::string id() const OVERRIDE;
virtual bool enabled() const OVERRIDE;
virtual TrackState state() const OVERRIDE;
virtual bool set_enabled(bool enable) OVERRIDE;
@@ -60,18 +60,18 @@
private:
bool enabled_;
- std::string label_;
+ std::string id_;
scoped_refptr<webrtc::VideoSourceInterface> source_;
};
class MockLocalAudioTrack : public webrtc::AudioTrackInterface {
public:
- explicit MockLocalAudioTrack(const std::string& label)
+ explicit MockLocalAudioTrack(const std::string& id)
: enabled_(false),
- label_(label) {
+ id_(id) {
}
virtual std::string kind() const OVERRIDE;
- virtual std::string label() const OVERRIDE;
+ virtual std::string id() const OVERRIDE;
virtual bool enabled() const OVERRIDE;
virtual TrackState state() const OVERRIDE;
virtual bool set_enabled(bool enable) OVERRIDE;
@@ -85,7 +85,7 @@
private:
bool enabled_;
- std::string label_;
+ std::string id_;
};
// A mock factory for creating different objects for
@@ -108,14 +108,12 @@
virtual scoped_refptr<webrtc::LocalMediaStreamInterface>
CreateLocalMediaStream(const std::string& label) OVERRIDE;
virtual scoped_refptr<webrtc::VideoTrackInterface>
- CreateLocalVideoTrack(const std::string& label,
+ CreateLocalVideoTrack(const std::string& id,
webrtc::VideoSourceInterface* source) OVERRIDE;
virtual scoped_refptr<webrtc::LocalAudioTrackInterface>
- CreateLocalAudioTrack(const std::string& label,
+ CreateLocalAudioTrack(const std::string& id,
webrtc::AudioDeviceModule* audio_device) OVERRIDE;
virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
- const std::string& sdp) OVERRIDE;
- virtual webrtc::SessionDescriptionInterface* CreateSessionDescription(
const std::string& type,
const std::string& sdp) OVERRIDE;
virtual webrtc::IceCandidateInterface* CreateIceCandidate(
« no previous file with comments | « content/renderer/media/media_stream_impl_unittest.cc ('k') | content/renderer/media/mock_media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698