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

Unified Diff: webrtc/base/objc/RTCFieldTrials.h

Issue 1757173002: Enable iOS AppRTCDemo send side BWE. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Move field trial init earlier. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/objc/RTCFieldTrials.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/objc/RTCFieldTrials.h
diff --git a/webrtc/base/objc/RTCTracing.h b/webrtc/base/objc/RTCFieldTrials.h
similarity index 53%
copy from webrtc/base/objc/RTCTracing.h
copy to webrtc/base/objc/RTCFieldTrials.h
index 5b8e2f6ac371abe543149a65f54b0d04983ed7cb..13b9ae4d52d99220c26a37658f90f400af74af1c 100644
--- a/webrtc/base/objc/RTCTracing.h
+++ b/webrtc/base/objc/RTCFieldTrials.h
@@ -8,14 +8,14 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import <Foundation/Foundation.h>
+#include "webrtc/base/objc/RTCMacros.h"
-#import "webrtc/base/objc/RTCMacros.h"
+typedef NS_OPTIONS(NSUInteger, RTCFieldTrialOptions) {
+ RTCFieldTrialOptionsNone = 0,
+ RTCFieldTrialOptionsSendSideBwe = 1 << 0,
+};
-RTC_EXPORT void RTCSetupInternalTracer();
-/** Starts capture to specified file. Must be a valid writable path.
- * Returns YES if capture starts.
+/** Must be called before any other call into WebRTC. See:
+ * webrtc/system_wrappers/include/field_trial_default.h
*/
-RTC_EXPORT BOOL RTCStartInternalCapture(NSString *filePath);
-RTC_EXPORT void RTCStopInternalCapture();
-RTC_EXPORT void RTCShutdownInternalTracer();
+RTC_EXPORT void RTCInitFieldTrials(RTCFieldTrialOptions options);
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/objc/RTCFieldTrials.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698