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

Side by Side Diff: sync/engine/sync_directory_commit_contributor.cc

Issue 25638003: sync: Implement per-type commit interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile warning Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698