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

Side by Side Diff: content/shell/test_runner/mock_webrtc_peer_connection_handler.h

Issue 2706563003: Create the API that returns the RTCConfiguration of the PeerConnection.
Patch Set: rebaselining Created 3 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
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_SHELL_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 5 #ifndef CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_
6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void setLocalDescription( 46 void setLocalDescription(
47 const blink::WebRTCVoidRequest& request, 47 const blink::WebRTCVoidRequest& request,
48 const blink::WebRTCSessionDescription& local_description) override; 48 const blink::WebRTCSessionDescription& local_description) override;
49 void setRemoteDescription( 49 void setRemoteDescription(
50 const blink::WebRTCVoidRequest& request, 50 const blink::WebRTCVoidRequest& request,
51 const blink::WebRTCSessionDescription& remote_description) override; 51 const blink::WebRTCSessionDescription& remote_description) override;
52 blink::WebRTCSessionDescription localDescription() override; 52 blink::WebRTCSessionDescription localDescription() override;
53 blink::WebRTCSessionDescription remoteDescription() override; 53 blink::WebRTCSessionDescription remoteDescription() override;
54 blink::WebRTCErrorType setConfiguration( 54 blink::WebRTCErrorType setConfiguration(
55 const blink::WebRTCConfiguration& configuration) override; 55 const blink::WebRTCConfiguration& configuration) override;
56 blink::WebRTCConfiguration getConfiguration() override;
56 bool addICECandidate(const blink::WebRTCICECandidate& ice_candidate) override; 57 bool addICECandidate(const blink::WebRTCICECandidate& ice_candidate) override;
57 bool addICECandidate(const blink::WebRTCVoidRequest& request, 58 bool addICECandidate(const blink::WebRTCVoidRequest& request,
58 const blink::WebRTCICECandidate& ice_candidate) override; 59 const blink::WebRTCICECandidate& ice_candidate) override;
59 bool addStream(const blink::WebMediaStream& stream, 60 bool addStream(const blink::WebMediaStream& stream,
60 const blink::WebMediaConstraints& constraints) override; 61 const blink::WebMediaConstraints& constraints) override;
61 void removeStream(const blink::WebMediaStream& stream) override; 62 void removeStream(const blink::WebMediaStream& stream) override;
62 void getStats(const blink::WebRTCStatsRequest& request) override; 63 void getStats(const blink::WebRTCStatsRequest& request) override;
63 void getStats(std::unique_ptr<blink::WebRTCStatsReportCallback>) override; 64 void getStats(std::unique_ptr<blink::WebRTCStatsReportCallback>) override;
64 blink::WebRTCDataChannelHandler* createDataChannel( 65 blink::WebRTCDataChannelHandler* createDataChannel(
65 const blink::WebString& label, 66 const blink::WebString& label,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 StreamMap remote_streams_; 100 StreamMap remote_streams_;
100 101
101 base::WeakPtrFactory<MockWebRTCPeerConnectionHandler> weak_factory_; 102 base::WeakPtrFactory<MockWebRTCPeerConnectionHandler> weak_factory_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler); 104 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler);
104 }; 105 };
105 106
106 } // namespace test_runner 107 } // namespace test_runner
107 108
108 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 109 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698