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

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

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 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
« no previous file with comments | « no previous file | components/test_runner/mock_webrtc_peer_connection_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 30 matching lines...) Expand all
41 void createAnswer(const blink::WebRTCSessionDescriptionRequest& request, 41 void createAnswer(const blink::WebRTCSessionDescriptionRequest& request,
42 const blink::WebMediaConstraints& constraints) override; 42 const blink::WebMediaConstraints& constraints) override;
43 void setLocalDescription( 43 void setLocalDescription(
44 const blink::WebRTCVoidRequest& request, 44 const blink::WebRTCVoidRequest& request,
45 const blink::WebRTCSessionDescription& local_description) override; 45 const blink::WebRTCSessionDescription& local_description) override;
46 void setRemoteDescription( 46 void setRemoteDescription(
47 const blink::WebRTCVoidRequest& request, 47 const blink::WebRTCVoidRequest& request,
48 const blink::WebRTCSessionDescription& remote_description) override; 48 const blink::WebRTCSessionDescription& remote_description) override;
49 blink::WebRTCSessionDescription localDescription() override; 49 blink::WebRTCSessionDescription localDescription() override;
50 blink::WebRTCSessionDescription remoteDescription() override; 50 blink::WebRTCSessionDescription remoteDescription() override;
51 bool updateICE(const blink::WebRTCConfiguration& configuration, 51 bool updateICE(const blink::WebRTCConfiguration& configuration) override;
52 const blink::WebMediaConstraints& constraints) override;
53 bool addICECandidate(const blink::WebRTCICECandidate& ice_candidate) override; 52 bool addICECandidate(const blink::WebRTCICECandidate& ice_candidate) override;
54 bool addICECandidate(const blink::WebRTCVoidRequest& request, 53 bool addICECandidate(const blink::WebRTCVoidRequest& request,
55 const blink::WebRTCICECandidate& ice_candidate) override; 54 const blink::WebRTCICECandidate& ice_candidate) override;
56 bool addStream(const blink::WebMediaStream& stream, 55 bool addStream(const blink::WebMediaStream& stream,
57 const blink::WebMediaConstraints& constraints) override; 56 const blink::WebMediaConstraints& constraints) override;
58 void removeStream(const blink::WebMediaStream& stream) override; 57 void removeStream(const blink::WebMediaStream& stream) override;
59 void getStats(const blink::WebRTCStatsRequest& request) override; 58 void getStats(const blink::WebRTCStatsRequest& request) override;
60 blink::WebRTCDataChannelHandler* createDataChannel( 59 blink::WebRTCDataChannelHandler* createDataChannel(
61 const blink::WebString& label, 60 const blink::WebString& label,
62 const blink::WebRTCDataChannelInit& init) override; 61 const blink::WebRTCDataChannelInit& init) override;
(...skipping 23 matching lines...) Expand all
86 typedef std::map<std::string, blink::WebMediaStream> StreamMap; 85 typedef std::map<std::string, blink::WebMediaStream> StreamMap;
87 StreamMap local_streams_; 86 StreamMap local_streams_;
88 StreamMap remote_streams_; 87 StreamMap remote_streams_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler); 89 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler);
91 }; 90 };
92 91
93 } // namespace test_runner 92 } // namespace test_runner
94 93
95 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_ 94 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_PEER_CONNECTION_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/mock_webrtc_peer_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698