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

Unified Diff: webrtc/p2p/base/candidatepairinterface.h

Issue 1803063004: Reset the BWE when the network changes (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Removed changes in call dir and leave that in a separate CL. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine.cc ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/candidatepairinterface.h
diff --git a/webrtc/base/objc/RTCFieldTrials.h b/webrtc/p2p/base/candidatepairinterface.h
similarity index 50%
copy from webrtc/base/objc/RTCFieldTrials.h
copy to webrtc/p2p/base/candidatepairinterface.h
index 837a8f7a60993f7c172bef9e342e8a30e4432bea..1d11c22a525593ae29625f4cadcf1957165ea10f 100644
--- a/webrtc/base/objc/RTCFieldTrials.h
+++ b/webrtc/p2p/base/candidatepairinterface.h
@@ -8,16 +8,21 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/base/objc/RTCMacros.h"
+#ifndef WEBRTC_P2P_BASE_CANDIDATEPAIRINTERFACE_H_
+#define WEBRTC_P2P_BASE_CANDIDATEPAIRINTERFACE_H_
-#import <Foundation/Foundation.h>
+namespace cricket {
-typedef NS_OPTIONS(NSUInteger, RTCFieldTrialOptions) {
- RTCFieldTrialOptionsNone = 0,
- RTCFieldTrialOptionsSendSideBwe = 1 << 0,
+class Candidate;
+
+class CandidatePairInterface {
+ public:
+ virtual ~CandidatePairInterface() {}
+
+ virtual const Candidate& local_candidate() const = 0;
+ virtual const Candidate& remote_candidate() const = 0;
};
-/** Must be called before any other call into WebRTC. See:
- * webrtc/system_wrappers/include/field_trial_default.h
- */
-RTC_EXPORT void RTCInitFieldTrials(RTCFieldTrialOptions options);
+} // namespace cricket
+
+#endif // WEBRTC_P2P_BASE_CANDIDATEPAIRINTERFACE_H_
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine.cc ('k') | webrtc/p2p/base/dtlstransportchannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698