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

Unified Diff: webrtc/base/filerotatingstream.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 | « talk/app/webrtc/objc/public/RTCFileLogger.h ('k') | webrtc/base/filerotatingstream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/filerotatingstream.h
diff --git a/webrtc/base/filerotatingstream.h b/webrtc/base/filerotatingstream.h
index 7f6bc50fa22c5ca6d9d539a3b55ac9e11354c08f..f3de14ede4e42b39cc1fb780e05f30d839f107ba 100644
--- a/webrtc/base/filerotatingstream.h
+++ b/webrtc/base/filerotatingstream.h
@@ -50,6 +50,8 @@ class FileRotatingStream : public StreamInterface {
size_t* written,
int* error) override;
bool Flush() override;
+ // Returns the total file size currently used on disk.
+ bool GetSize(size_t* size) const override;
void Close() override;
// Opens the appropriate file(s). Call this before using the stream.
« no previous file with comments | « talk/app/webrtc/objc/public/RTCFileLogger.h ('k') | webrtc/base/filerotatingstream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698