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

Unified Diff: sync/engine/commit_contributor.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/engine/commit_contribution.cc ('k') | sync/engine/commit_contributor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/commit_contributor.h
diff --git a/sync/engine/commit_contributor.h b/sync/engine/commit_contributor.h
deleted file mode 100644
index 4b5b0cce038f44071f786ce86e62de16d7856aee..0000000000000000000000000000000000000000
--- a/sync/engine/commit_contributor.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef SYNC_ENGINE_COMMIT_CONTRIBUTOR_H_
-#define SYNC_ENGINE_COMMIT_CONTRIBUTOR_H_
-
-#include <cstddef>
-#include <memory>
-
-#include "sync/base/sync_export.h"
-
-namespace syncer {
-
-class CommitContribution;
-
-namespace syncable {
-class Directory;
-}
-
-// This class represents a source of items to commit to the sync server.
-//
-// When asked, it can return CommitContribution objects that contain a set of
-// items to be committed from this source.
-class SYNC_EXPORT CommitContributor {
- public:
- CommitContributor();
- virtual ~CommitContributor() = 0;
-
- // Gathers up to |max_entries| unsynced items from this contributor into a
- // CommitContribution. Returns NULL when the contributor has nothing to
- // contribute.
- virtual std::unique_ptr<CommitContribution> GetContribution(
- size_t max_entries) = 0;
-};
-
-} // namespace syncer
-
-#endif // SYNC_ENGINE_COMMIT_CONTRIBUTOR_H_
« no previous file with comments | « sync/engine/commit_contribution.cc ('k') | sync/engine/commit_contributor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698