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

Unified Diff: util/file/file_writer.h

Issue 913223008: Add FileReaderInterface::ReadExactly() and FileSeekerInterface::SeekSet() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 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 | « util/file/file_seeker.cc ('k') | util/file/string_file_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/file/file_writer.h
diff --git a/util/file/file_writer.h b/util/file/file_writer.h
index 2b0c97ed5c84715c4c6452c228c6bc83f32964aa..fd88ce08c54e99d946a45194894795e51115f488 100644
--- a/util/file/file_writer.h
+++ b/util/file/file_writer.h
@@ -42,7 +42,7 @@ struct WritableIoVec {
//! \brief An interface to write to files and other file-like objects with
//! semantics matching the underlying platform (POSIX or Windows).
-class FileWriterInterface : public FileSeekerInterface {
+class FileWriterInterface : public virtual FileSeekerInterface {
public:
//! \brief Wraps LoggingWriteFile(), or provides an implementation with
//! identical semantics.
« no previous file with comments | « util/file/file_seeker.cc ('k') | util/file/string_file_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698