Index: webrtc/base/filerotatingstream.h |
diff --git a/webrtc/base/filerotatingstream.h b/webrtc/base/filerotatingstream.h |
index a3e808cda52670f7e9e3b67294bab9b9b6838318..97520fbbfe59e1b2ecc406a523d229f20e3997d4 100644 |
--- a/webrtc/base/filerotatingstream.h |
+++ b/webrtc/base/filerotatingstream.h |
@@ -82,14 +82,6 @@ class FileRotatingStream : public StreamInterface { |
virtual void OnRotation() {} |
private: |
- enum Mode { kRead, kWrite }; |
- |
- FileRotatingStream(const std::string& dir_path, |
- const std::string& file_prefix, |
- size_t max_file_size, |
- size_t num_files, |
- Mode mode); |
- |
bool OpenCurrentFile(); |
void CloseCurrentFile(); |
@@ -108,7 +100,6 @@ class FileRotatingStream : public StreamInterface { |
const std::string dir_path_; |
const std::string file_prefix_; |
- const Mode mode_; |
// FileStream is used to write to the current file. |
std::unique_ptr<FileStream> file_stream_; |
@@ -143,9 +134,6 @@ class FileRotatingStream : public StreamInterface { |
// Open() must be called before using this stream. |
class CallSessionFileRotatingStream : public FileRotatingStream { |
public: |
- // Use this constructor for reading a directory previously written to with |
- // this stream. |
- explicit CallSessionFileRotatingStream(const std::string& dir_path); |
// Use this constructor for writing to a directory. Files in the directory |
// matching what's used by the stream will be deleted. |max_total_log_size| |
// must be at least 4. |