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

Side by Side Diff: content/renderer/media/mock_peer_connection_impl.h

Issue 10689180: Rolling libjingle to 158:159 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 #ifndef CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual bool SetRemoteDescription( 49 virtual bool SetRemoteDescription(
50 Action action, 50 Action action,
51 webrtc::SessionDescriptionInterface* desc) OVERRIDE; 51 webrtc::SessionDescriptionInterface* desc) OVERRIDE;
52 virtual bool ProcessIceMessage( 52 virtual bool ProcessIceMessage(
53 const webrtc::IceCandidateInterface* ice_candidate) OVERRIDE; 53 const webrtc::IceCandidateInterface* ice_candidate) OVERRIDE;
54 virtual const webrtc::SessionDescriptionInterface* local_description() 54 virtual const webrtc::SessionDescriptionInterface* local_description()
55 const OVERRIDE; 55 const OVERRIDE;
56 virtual const webrtc::SessionDescriptionInterface* remote_description() 56 virtual const webrtc::SessionDescriptionInterface* remote_description()
57 const OVERRIDE; 57 const OVERRIDE;
58 58
59 // JSEP01 APIs
60 virtual void CreateOffer(CreateSessionDescriptionObserver* observer,
61 const SessionDescriptionOptions& options) OVERRIDE;
62 virtual void CreateAnswer(CreateSessionDescriptionObserver* observer,
63 const SessionDescriptionOptions& options) OVERRIDE;
64 virtual void SetLocalDescription(SetSessionDescriptionObserver* observer,
65 SessionDescriptionInterface* desc) OVERRIDE;
66 virtual void SetRemoteDescription(SetSessionDescriptionObserver* observer,
67 SessionDescriptionInterface* desc) OVERRIDE;
68 virtual bool UpdateIce(const IceServers& configuration,
69 IceOptions options) OVERRIDE;
70 virtual bool AddIceCandidate(const IceCandidateInterface* candidate) OVERRIDE;
71 virtual IceState ice_state() OVERRIDE;
72
59 void AddRemoteStream(MediaStreamInterface* stream); 73 void AddRemoteStream(MediaStreamInterface* stream);
60 void ClearStreamChangesCommitted() { stream_changes_committed_ = false; } 74 void ClearStreamChangesCommitted() { stream_changes_committed_ = false; }
61 void SetReadyState(ReadyState state) { ready_state_ = state; } 75 void SetReadyState(ReadyState state) { ready_state_ = state; }
62 76
63 const std::string& signaling_message() const { return signaling_message_; } 77 const std::string& signaling_message() const { return signaling_message_; }
64 const std::string& stream_label() const { return stream_label_; } 78 const std::string& stream_label() const { return stream_label_; }
65 bool stream_changes_committed() const { return stream_changes_committed_; } 79 bool stream_changes_committed() const { return stream_changes_committed_; }
66 bool hint_audio() const { return hint_audio_; } 80 bool hint_audio() const { return hint_audio_; }
67 bool hint_video() const { return hint_video_; } 81 bool hint_video() const { return hint_video_; }
68 Action action() const { return action_; } 82 Action action() const { return action_; }
(...skipping 26 matching lines...) Expand all
95 std::string ice_label_; 109 std::string ice_label_;
96 std::string ice_sdp_; 110 std::string ice_sdp_;
97 ReadyState ready_state_; 111 ReadyState ready_state_;
98 112
99 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); 113 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl);
100 }; 114 };
101 115
102 } // namespace webrtc 116 } // namespace webrtc
103 117
104 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ 118 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698