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

Unified Diff: minidump/minidump_file_writer_test.cc

Issue 654933002: Use exactly one of final, override, and virtual (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: git grep -E '^ {3,}.*override[ Created 6 years, 2 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 | « minidump/minidump_file_writer.h ('k') | minidump/minidump_memory_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/minidump_file_writer_test.cc
diff --git a/minidump/minidump_file_writer_test.cc b/minidump/minidump_file_writer_test.cc
index c05e65e683f4cf17e7a0a98e060ce97e96291894..0e92576705276e20a9dc4cf84c3b0d9bc6e9bd58 100644
--- a/minidump/minidump_file_writer_test.cc
+++ b/minidump/minidump_file_writer_test.cc
@@ -52,18 +52,18 @@ class TestStream final : public internal::MinidumpStreamWriter {
~TestStream() {}
// MinidumpStreamWriter:
- virtual MinidumpStreamType StreamType() const override {
+ MinidumpStreamType StreamType() const override {
return stream_type_;
}
protected:
// MinidumpWritable:
- virtual size_t SizeOfObject() override {
+ size_t SizeOfObject() override {
EXPECT_GE(state(), kStateFrozen);
return stream_data_.size();
}
- virtual bool WriteObject(FileWriterInterface* file_writer) override {
+ bool WriteObject(FileWriterInterface* file_writer) override {
EXPECT_EQ(state(), kStateWritable);
return file_writer->Write(&stream_data_[0], stream_data_.size());
}
« no previous file with comments | « minidump/minidump_file_writer.h ('k') | minidump/minidump_memory_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698