| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "sync/engine/sync_directory_commit_contributor.h" | |
| 6 | |
| 7 #include "sync/engine/sync_directory_commit_contribution.h" | |
| 8 | |
| 9 namespace syncer { | |
| 10 | |
| 11 SyncDirectoryCommitContributor::SyncDirectoryCommitContributor( | |
| 12 syncable::Directory* dir, | |
| 13 ModelType type) | |
| 14 : dir_(dir), | |
| 15 type_(type) {} | |
| 16 | |
| 17 SyncDirectoryCommitContributor::~SyncDirectoryCommitContributor() {} | |
| 18 | |
| 19 SyncDirectoryCommitContribution* | |
| 20 SyncDirectoryCommitContributor::GetContribution(size_t max_entries) { | |
| 21 return SyncDirectoryCommitContribution::Build(dir_, type_, max_entries); | |
| 22 } | |
| 23 | |
| 24 } // namespace syncer | |
| OLD | NEW |