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

Unified Diff: sync/internal_api/attachments/attachment_store_handle_unittest.cc

Issue 642023004: Standardize usage of virtual/override/final in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: sync/internal_api/attachments/attachment_store_handle_unittest.cc
diff --git a/sync/internal_api/attachments/attachment_store_handle_unittest.cc b/sync/internal_api/attachments/attachment_store_handle_unittest.cc
index 0ce411f0b5d97b79a27059f7a6d630fbab103352..637e37477aaabd8ef04b6ee48df9954f0d90463d 100644
--- a/sync/internal_api/attachments/attachment_store_handle_unittest.cc
+++ b/sync/internal_api/attachments/attachment_store_handle_unittest.cc
@@ -30,22 +30,20 @@ class MockAttachmentStore : public AttachmentStoreBase {
drop_called_(drop_called),
dtor_called_(dtor_called) {}
- virtual ~MockAttachmentStore() {
- dtor_called_.Run();
- }
+ ~MockAttachmentStore() override { dtor_called_.Run(); }
- virtual void Read(const AttachmentIdList& ids,
- const ReadCallback& callback) override {
+ void Read(const AttachmentIdList& ids,
+ const ReadCallback& callback) override {
read_called_.Run();
}
- virtual void Write(const AttachmentList& attachments,
- const WriteCallback& callback) override {
+ void Write(const AttachmentList& attachments,
+ const WriteCallback& callback) override {
write_called_.Run();
}
- virtual void Drop(const AttachmentIdList& ids,
- const DropCallback& callback) override {
+ void Drop(const AttachmentIdList& ids,
+ const DropCallback& callback) override {
drop_called_.Run();
}

Powered by Google App Engine
This is Rietveld 408576698