| Index: sync/engine/directory_commit_contributor.cc
|
| diff --git a/sync/engine/directory_commit_contributor.cc b/sync/engine/directory_commit_contributor.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6907b32dceab90277fd1920bbe9ab539e4846948
|
| --- /dev/null
|
| +++ b/sync/engine/directory_commit_contributor.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "sync/engine/directory_commit_contributor.h"
|
| +
|
| +#include "sync/engine/directory_commit_contribution.h"
|
| +
|
| +namespace syncer {
|
| +
|
| +DirectoryCommitContributor::DirectoryCommitContributor(
|
| + syncable::Directory* dir,
|
| + ModelType type)
|
| + : dir_(dir),
|
| + type_(type) {}
|
| +
|
| +DirectoryCommitContributor::~DirectoryCommitContributor() {}
|
| +
|
| +DirectoryCommitContribution*
|
| +DirectoryCommitContributor::GetContribution(size_t max_entries) {
|
| + return DirectoryCommitContribution::Build(dir_, type_, max_entries);
|
| +}
|
| +
|
| +} // namespace syncer
|
|
|