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

Unified Diff: sync/engine/conflict_util.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/conflict_resolver.cc ('k') | sync/engine/conflict_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/conflict_util.h
diff --git a/sync/engine/conflict_util.h b/sync/engine/conflict_util.h
deleted file mode 100644
index 0f3a58be45540b4c8debf3e7b52bc1a847530dd7..0000000000000000000000000000000000000000
--- a/sync/engine/conflict_util.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 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.
-//
-// Utility functions that act on syncable::MutableEntry to resolve conflicts.
-
-#ifndef SYNC_ENGINE_CONFLICT_UTIL_H_
-#define SYNC_ENGINE_CONFLICT_UTIL_H_
-
-namespace syncer {
-
-namespace syncable {
-class MutableEntry;
-}
-
-namespace conflict_util {
-
-// Marks the item as no longer requiring sync, allowing the server's version
-// to 'win' during the next update application step.
-void IgnoreLocalChanges(syncable::MutableEntry* entry);
-
-// Marks the item as no longer requiring update from server data. This will
-// cause the item to be committed to the server, overwriting the server's
-// version.
-void OverwriteServerChanges(syncable::MutableEntry* entry);
-
-// The local and server versions are identical, so unset the bits that put them
-// into a conflicting state.
-void IgnoreConflict(syncable::MutableEntry *trans);
-
-} // namespace conflict_util
-} // namespace syncer
-
-#endif // SYNC_ENGINE_CONFLICT_UTIL_H_
« no previous file with comments | « sync/engine/conflict_resolver.cc ('k') | sync/engine/conflict_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698