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

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

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added CONTENT_EXPORT to WebRTCEventLogHost. Created 4 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
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 IceConnectionState ice_connection_state() override { 56 IceConnectionState ice_connection_state() override {
57 NOTIMPLEMENTED(); 57 NOTIMPLEMENTED();
58 return PeerConnectionInterface::kIceConnectionNew; 58 return PeerConnectionInterface::kIceConnectionNew;
59 } 59 }
60 IceGatheringState ice_gathering_state() override { 60 IceGatheringState ice_gathering_state() override {
61 NOTIMPLEMENTED(); 61 NOTIMPLEMENTED();
62 return PeerConnectionInterface::kIceGatheringNew; 62 return PeerConnectionInterface::kIceGatheringNew;
63 } 63 }
64 64
65 bool StartRtcEventLog(rtc::PlatformFile file,
66 int64_t max_size_bytes) override {
67 NOTIMPLEMENTED();
68 return false;
69 }
70 void StopRtcEventLog() override { NOTIMPLEMENTED(); }
71
65 MOCK_METHOD0(Close, void()); 72 MOCK_METHOD0(Close, void());
66 73
67 const webrtc::SessionDescriptionInterface* local_description() const override; 74 const webrtc::SessionDescriptionInterface* local_description() const override;
68 const webrtc::SessionDescriptionInterface* remote_description() 75 const webrtc::SessionDescriptionInterface* remote_description()
69 const override; 76 const override;
70 77
71 // JSEP01 APIs 78 // JSEP01 APIs
72 void CreateOffer(webrtc::CreateSessionDescriptionObserver* observer, 79 void CreateOffer(webrtc::CreateSessionDescriptionObserver* observer,
73 const RTCOfferAnswerOptions& options) override; 80 const RTCOfferAnswerOptions& options) override;
74 void CreateAnswer(webrtc::CreateSessionDescriptionObserver* observer, 81 void CreateAnswer(webrtc::CreateSessionDescriptionObserver* observer,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 int sdp_mline_index_; 136 int sdp_mline_index_;
130 std::string ice_sdp_; 137 std::string ice_sdp_;
131 webrtc::PeerConnectionObserver* observer_; 138 webrtc::PeerConnectionObserver* observer_;
132 139
133 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl); 140 DISALLOW_COPY_AND_ASSIGN(MockPeerConnectionImpl);
134 }; 141 };
135 142
136 } // namespace content 143 } // namespace content
137 144
138 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_ 145 #endif // CONTENT_RENDERER_MEDIA_MOCK_PEER_CONNECTION_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_audio_processor_unittest.cc ('k') | content/renderer/media/peer_connection_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698