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

Unified Diff: sync/test/fake_server/unique_client_entity.h

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
« no previous file with comments | « sync/test/fake_server/tombstone_entity.h ('k') | sync/test/fake_sync_encryption_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/unique_client_entity.h
diff --git a/sync/test/fake_server/unique_client_entity.h b/sync/test/fake_server/unique_client_entity.h
index 3d3f149c3db192133d75810cb0d35c11c8c93cc0..9805ed8da06c9f3333a272ec0b01e52e29133a19 100644
--- a/sync/test/fake_server/unique_client_entity.h
+++ b/sync/test/fake_server/unique_client_entity.h
@@ -17,7 +17,7 @@ namespace fake_server {
// An entity that is unique per client account.
class UniqueClientEntity : public FakeServerEntity {
public:
- virtual ~UniqueClientEntity();
+ ~UniqueClientEntity() override;
// Factory function for creating a UniqueClientEntity.
static FakeServerEntity* Create(const sync_pb::SyncEntity& client_entity);
@@ -27,10 +27,10 @@ class UniqueClientEntity : public FakeServerEntity {
const sync_pb::SyncEntity& entity);
// FakeServerEntity implementation.
- virtual std::string GetParentId() const override;
- virtual void SerializeAsProto(sync_pb::SyncEntity* proto) override;
- virtual bool IsDeleted() const override;
- virtual bool IsFolder() const override;
+ std::string GetParentId() const override;
+ void SerializeAsProto(sync_pb::SyncEntity* proto) override;
+ bool IsDeleted() const override;
+ bool IsFolder() const override;
private:
UniqueClientEntity(const std::string& id,
« no previous file with comments | « sync/test/fake_server/tombstone_entity.h ('k') | sync/test/fake_sync_encryption_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698