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

Unified Diff: talk/app/webrtc/objc/public/RTCFileLogger.h

Issue 1638283003: Add shouldDisableBuffering to RTCFileLogger. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/objc/RTCFileLogger.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/public/RTCFileLogger.h
diff --git a/talk/app/webrtc/objc/public/RTCFileLogger.h b/talk/app/webrtc/objc/public/RTCFileLogger.h
index 70b3825307145ea329ffe33706006ab49434cb56..af43f8ad27160a36270ba194dde972006db5eaeb 100644
--- a/talk/app/webrtc/objc/public/RTCFileLogger.h
+++ b/talk/app/webrtc/objc/public/RTCFileLogger.h
@@ -60,6 +60,10 @@ typedef NS_ENUM(NSUInteger, RTCFileLoggerRotationType) {
// kRTCFileLoggerTypeCall.
@property(nonatomic, readonly) RTCFileLoggerRotationType rotationType;
+// Disables buffering disk writes. Should be set before |start|. Buffering
+// is enabled by default for performance.
+@property(nonatomic, assign) BOOL shouldDisableBuffering;
+
// Default constructor provides default settings for dir path, file size and
// rotation type.
- (instancetype)init;
« no previous file with comments | « talk/app/webrtc/objc/RTCFileLogger.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698