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

Side by Side Diff: components/test_runner/mock_webrtc_peer_connection_handler.h

Issue 2511633002: Rename "updateICE" to "setConfiguration", everywhere except in Blink. (Closed)
Patch Set: Making sure updateIce doesn't change behavior in this CL. Created 4 years, 1 month 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 COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_
6 #define COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 6 #define COMPONENTS_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 void createAnswer(const blink::WebRTCSessionDescriptionRequest& request, 43 void createAnswer(const blink::WebRTCSessionDescriptionRequest& request,
44 const blink::WebRTCAnswerOptions& options) override; 44 const blink::WebRTCAnswerOptions& options) override;
45 void setLocalDescription( 45 void setLocalDescription(
46 const blink::WebRTCVoidRequest& request, 46 const blink::WebRTCVoidRequest& request,
47 const blink::WebRTCSessionDescription& local_description) override; 47 const blink::WebRTCSessionDescription& local_description) override;
48 void setRemoteDescription( 48 void setRemoteDescription(
49 const blink::WebRTCVoidRequest& request, 49 const blink::WebRTCVoidRequest& request,
50 const blink::WebRTCSessionDescription& remote_description) override; 50 const blink::WebRTCSessionDescription& remote_description) override;
51 blink::WebRTCSessionDescription localDescription() override; 51 blink::WebRTCSessionDescription localDescription() override;
52 blink::WebRTCSessionDescription remoteDescription() override; 52 blink::WebRTCSessionDescription remoteDescription() override;
53 bool updateICE(const blink::WebRTCConfiguration& configuration) override; 53 bool setConfiguration(
54 const blink::WebRTCConfiguration& configuration) override;
54 void logSelectedRtcpMuxPolicy(blink::RtcpMuxPolicy) override; 55 void logSelectedRtcpMuxPolicy(blink::RtcpMuxPolicy) override;
55 bool addICECandidate(const blink::WebRTCICECandidate& ice_candidate) override; 56 bool addICECandidate(const blink::WebRTCICECandidate& ice_candidate) override;
56 bool addICECandidate(const blink::WebRTCVoidRequest& request, 57 bool addICECandidate(const blink::WebRTCVoidRequest& request,
57 const blink::WebRTCICECandidate& ice_candidate) override; 58 const blink::WebRTCICECandidate& ice_candidate) override;
58 bool addStream(const blink::WebMediaStream& stream, 59 bool addStream(const blink::WebMediaStream& stream,
59 const blink::WebMediaConstraints& constraints) override; 60 const blink::WebMediaConstraints& constraints) override;
60 void removeStream(const blink::WebMediaStream& stream) override; 61 void removeStream(const blink::WebMediaStream& stream) override;
61 void getStats(const blink::WebRTCStatsRequest& request) override; 62 void getStats(const blink::WebRTCStatsRequest& request) override;
62 void getStats(std::unique_ptr<blink::WebRTCStatsReportCallback>) override; 63 void getStats(std::unique_ptr<blink::WebRTCStatsReportCallback>) override;
63 blink::WebRTCDataChannelHandler* createDataChannel( 64 blink::WebRTCDataChannelHandler* createDataChannel(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 StreamMap remote_streams_; 99 StreamMap remote_streams_;
99 100
100 base::WeakPtrFactory<MockWebRTCPeerConnectionHandler> weak_factory_; 101 base::WeakPtrFactory<MockWebRTCPeerConnectionHandler> weak_factory_;
101 102
102 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler); 103 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler);
103 }; 104 };
104 105
105 } // namespace test_runner 106 } // namespace test_runner
106 107
107 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 108 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698