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

Side by Side Diff: sync/test/fake_server/tombstone_entity.h

Issue 629733002: replace OVERRIDE and FINAL with override and 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 unified diff | Download patch
« no previous file with comments | « sync/test/fake_server/permanent_entity.h ('k') | sync/test/fake_server/unique_client_entity.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_TEST_FAKE_SERVER_TOMBSTONE_ENTITY_H_ 5 #ifndef SYNC_TEST_FAKE_SERVER_TOMBSTONE_ENTITY_H_
6 #define SYNC_TEST_FAKE_SERVER_TOMBSTONE_ENTITY_H_ 6 #define SYNC_TEST_FAKE_SERVER_TOMBSTONE_ENTITY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "sync/internal_api/public/base/model_type.h" 11 #include "sync/internal_api/public/base/model_type.h"
12 #include "sync/protocol/sync.pb.h" 12 #include "sync/protocol/sync.pb.h"
13 #include "sync/test/fake_server/fake_server_entity.h" 13 #include "sync/test/fake_server/fake_server_entity.h"
14 14
15 namespace fake_server { 15 namespace fake_server {
16 16
17 // A Sync entity that represents a deleted item. 17 // A Sync entity that represents a deleted item.
18 class TombstoneEntity : public FakeServerEntity { 18 class TombstoneEntity : public FakeServerEntity {
19 public: 19 public:
20 virtual ~TombstoneEntity(); 20 virtual ~TombstoneEntity();
21 21
22 // Factory function for TombstoneEntity. 22 // Factory function for TombstoneEntity.
23 static FakeServerEntity* Create(const std::string& id); 23 static FakeServerEntity* Create(const std::string& id);
24 24
25 // FakeServerEntity implementation. 25 // FakeServerEntity implementation.
26 virtual std::string GetParentId() const OVERRIDE; 26 virtual std::string GetParentId() const override;
27 virtual void SerializeAsProto(sync_pb::SyncEntity* proto) OVERRIDE; 27 virtual void SerializeAsProto(sync_pb::SyncEntity* proto) override;
28 virtual bool IsDeleted() const OVERRIDE; 28 virtual bool IsDeleted() const override;
29 virtual bool IsFolder() const OVERRIDE; 29 virtual bool IsFolder() const override;
30 30
31 private: 31 private:
32 TombstoneEntity(const std::string& id, const syncer::ModelType& model_type); 32 TombstoneEntity(const std::string& id, const syncer::ModelType& model_type);
33 }; 33 };
34 34
35 } // namespace fake_server 35 } // namespace fake_server
36 36
37 #endif // SYNC_TEST_FAKE_SERVER_TOMBSTONE_ENTITY_H_ 37 #endif // SYNC_TEST_FAKE_SERVER_TOMBSTONE_ENTITY_H_
OLDNEW
« no previous file with comments | « sync/test/fake_server/permanent_entity.h ('k') | sync/test/fake_server/unique_client_entity.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698