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_ |