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

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

Issue 2631433002: Rename RTCPeerConnection.updateIce to setConfiguration and make it work. (Closed)
Patch Set: Rebase. Created 3 years, 11 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"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "third_party/WebKit/public/platform/WebRTCError.h"
12 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" 13 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h"
13 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h" 14 #include "third_party/WebKit/public/platform/WebRTCSessionDescription.h"
14 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h" 15 #include "third_party/WebKit/public/platform/WebRTCSessionDescriptionRequest.h"
15 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h" 16 #include "third_party/WebKit/public/platform/WebRTCStatsRequest.h"
16 17
17 namespace blink { 18 namespace blink {
18 class WebRTCPeerConnectionHandlerClient; 19 class WebRTCPeerConnectionHandlerClient;
19 }; 20 };
20 21
21 namespace test_runner { 22 namespace test_runner {
(...skipping 21 matching lines...) Expand all
43 void createAnswer(const blink::WebRTCSessionDescriptionRequest& request, 44 void createAnswer(const blink::WebRTCSessionDescriptionRequest& request,
44 const blink::WebRTCAnswerOptions& options) override; 45 const blink::WebRTCAnswerOptions& options) override;
45 void setLocalDescription( 46 void setLocalDescription(
46 const blink::WebRTCVoidRequest& request, 47 const blink::WebRTCVoidRequest& request,
47 const blink::WebRTCSessionDescription& local_description) override; 48 const blink::WebRTCSessionDescription& local_description) override;
48 void setRemoteDescription( 49 void setRemoteDescription(
49 const blink::WebRTCVoidRequest& request, 50 const blink::WebRTCVoidRequest& request,
50 const blink::WebRTCSessionDescription& remote_description) override; 51 const blink::WebRTCSessionDescription& remote_description) override;
51 blink::WebRTCSessionDescription localDescription() override; 52 blink::WebRTCSessionDescription localDescription() override;
52 blink::WebRTCSessionDescription remoteDescription() override; 53 blink::WebRTCSessionDescription remoteDescription() override;
53 bool setConfiguration( 54 blink::WebRTCErrorType setConfiguration(
54 const blink::WebRTCConfiguration& configuration) override; 55 const blink::WebRTCConfiguration& configuration) 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
« 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