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

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

Issue 161253002: sync: Add interfaces for per-type sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another win compile fix Created 6 years, 10 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 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
« no previous file with comments | « sync/engine/sync_directory_commit_contributor.h ('k') | sync/engine/sync_directory_update_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698