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

Side by Side Diff: sync/engine/directory_commit_contributor.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
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_ENGINE_DIRECTORY_COMMIT_CONTRIBUTOR_H_ 5 #ifndef SYNC_ENGINE_DIRECTORY_COMMIT_CONTRIBUTOR_H_
6 #define SYNC_ENGINE_DIRECTORY_COMMIT_CONTRIBUTOR_H_ 6 #define SYNC_ENGINE_DIRECTORY_COMMIT_CONTRIBUTOR_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 17 matching lines...) Expand all
28 // any items of its type that are ready for commit, and return them in the form 28 // any items of its type that are ready for commit, and return them in the form
29 // of a DirectoryCommitContribution. 29 // of a DirectoryCommitContribution.
30 class DirectoryCommitContributor : public CommitContributor { 30 class DirectoryCommitContributor : public CommitContributor {
31 public: 31 public:
32 DirectoryCommitContributor(syncable::Directory* dir, 32 DirectoryCommitContributor(syncable::Directory* dir,
33 ModelType type, 33 ModelType type,
34 DirectoryTypeDebugInfoEmitter* debug_info_emitter); 34 DirectoryTypeDebugInfoEmitter* debug_info_emitter);
35 virtual ~DirectoryCommitContributor(); 35 virtual ~DirectoryCommitContributor();
36 36
37 virtual scoped_ptr<CommitContribution> GetContribution( 37 virtual scoped_ptr<CommitContribution> GetContribution(
38 size_t max_entries) OVERRIDE; 38 size_t max_entries) override;
39 39
40 private: 40 private:
41 syncable::Directory* dir_; 41 syncable::Directory* dir_;
42 ModelType type_; 42 ModelType type_;
43 43
44 DirectoryTypeDebugInfoEmitter* debug_info_emitter_; 44 DirectoryTypeDebugInfoEmitter* debug_info_emitter_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(DirectoryCommitContributor); 46 DISALLOW_COPY_AND_ASSIGN(DirectoryCommitContributor);
47 }; 47 };
48 48
49 } // namespace 49 } // namespace
50 50
51 #endif // SYNC_ENGINE_DIRECTORY_COMMIT_CONTRIBUTOR_H_ 51 #endif // SYNC_ENGINE_DIRECTORY_COMMIT_CONTRIBUTOR_H_
OLDNEW
« no previous file with comments | « sync/engine/directory_commit_contribution_unittest.cc ('k') | sync/engine/directory_update_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698