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

Unified Diff: webrtc/base/logsinks.h

Issue 1245143005: Remove CircularFileStream / replace it with CallSessionFileRotatingStream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add GetSize to FileRotatingStream Created 5 years, 5 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/filerotatingstream_unittest.cc ('k') | webrtc/base/logsinks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/logsinks.h
diff --git a/webrtc/base/logsinks.h b/webrtc/base/logsinks.h
index f86bdd0a2de07bdb7674b2c26ef844d12fbe3f40..849e1dcf1636f7c42e7140adeaa9f9f40cbcd2c4 100644
--- a/webrtc/base/logsinks.h
+++ b/webrtc/base/logsinks.h
@@ -39,6 +39,9 @@ class FileRotatingLogSink : public LogSink {
// Deletes any existing files in the directory and creates a new log file.
virtual bool Init();
+ // Disables buffering on the underlying stream.
+ bool DisableBuffering();
+
protected:
explicit FileRotatingLogSink(FileRotatingStream* stream);
@@ -57,8 +60,6 @@ class CallSessionFileRotatingLogSink : public FileRotatingLogSink {
~CallSessionFileRotatingLogSink() override;
private:
- scoped_ptr<CallSessionFileRotatingStream> stream_;
-
DISALLOW_COPY_AND_ASSIGN(CallSessionFileRotatingLogSink);
};
« no previous file with comments | « webrtc/base/filerotatingstream_unittest.cc ('k') | webrtc/base/logsinks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698