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

Side by Side Diff: webrtc/p2p/base/mockicetransport.h

Issue 2677613002: Fix Chromium FYI bot breakage caused by ICE interface change (Closed)
Patch Set: Rebase Created 3 years, 10 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const std::string& transport_name() const override { return transport_name_; } 50 const std::string& transport_name() const override { return transport_name_; }
51 int component() const override { return 0; } 51 int component() const override { return 0; }
52 void SetIceRole(IceRole role) override {} 52 void SetIceRole(IceRole role) override {}
53 void SetIceTiebreaker(uint64_t tiebreaker) override {} 53 void SetIceTiebreaker(uint64_t tiebreaker) override {}
54 // The ufrag and pwd in |ice_params| must be set 54 // The ufrag and pwd in |ice_params| must be set
55 // before candidate gathering can start. 55 // before candidate gathering can start.
56 void SetIceParameters(const IceParameters& ice_params) override {} 56 void SetIceParameters(const IceParameters& ice_params) override {}
57 void SetRemoteIceParameters(const IceParameters& ice_params) override {} 57 void SetRemoteIceParameters(const IceParameters& ice_params) override {}
58 void SetRemoteIceMode(IceMode mode) override {} 58 void SetRemoteIceMode(IceMode mode) override {}
59 void SetIceConfig(const IceConfig& config) override {} 59 void SetIceConfig(const IceConfig& config) override {}
60 rtc::Optional<int> GetRttEstimate() override {
61 return rtc::Optional<int>();
62 }
60 void MaybeStartGathering() override {} 63 void MaybeStartGathering() override {}
61 void SetMetricsObserver(webrtc::MetricsObserverInterface* observer) override { 64 void SetMetricsObserver(webrtc::MetricsObserverInterface* observer) override {
62 } 65 }
63 void AddRemoteCandidate(const Candidate& candidate) override {} 66 void AddRemoteCandidate(const Candidate& candidate) override {}
64 void RemoveRemoteCandidate(const Candidate& candidate) override {} 67 void RemoveRemoteCandidate(const Candidate& candidate) override {}
65 IceGatheringState gathering_state() const override { 68 IceGatheringState gathering_state() const override {
66 return IceGatheringState::kIceGatheringComplete; 69 return IceGatheringState::kIceGatheringComplete;
67 } 70 }
68 71
69 bool receiving() const override { return true; } 72 bool receiving() const override { return true; }
70 bool writable() const override { return true; } 73 bool writable() const override { return true; }
71 74
72 private: 75 private:
73 std::string transport_name_; 76 std::string transport_name_;
74 }; 77 };
75 78
76 } // namespace cricket 79 } // namespace cricket
77 80
78 #endif // WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_ 81 #endif // WEBRTC_P2P_BASE_MOCKICETRANSPORT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698