summaryrefslogtreecommitdiffstats
path: root/sync/engine/conflict_util.h
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-25 02:01:12 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-25 02:01:12 +0000
commit00cf51c636d068e712242c51dba0d796381033db (patch)
treec58b20a1b4480f0fd7b3ea34510a25be41242a2e /sync/engine/conflict_util.h
parenta0474adb323a320f8d0b509fbd04c0df425883e5 (diff)
downloadchromium_src-00cf51c636d068e712242c51dba0d796381033db.zip
chromium_src-00cf51c636d068e712242c51dba0d796381033db.tar.gz
chromium_src-00cf51c636d068e712242c51dba0d796381033db.tar.bz2
sync: wrap conflict_utils in a namespace
This makes it easier to hunt down function definitions and matches file hierarchy as suggested by the style guide. BUG= Review URL: https://chromiumcodereview.appspot.com/11238043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163992 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/conflict_util.h')
-rw-r--r--sync/engine/conflict_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync/engine/conflict_util.h b/sync/engine/conflict_util.h
index 7242dd6..0f3a58b 100644
--- a/sync/engine/conflict_util.h
+++ b/sync/engine/conflict_util.h
@@ -13,6 +13,8 @@ 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);
@@ -26,6 +28,7 @@ void OverwriteServerChanges(syncable::MutableEntry* entry);
// into a conflicting state.
void IgnoreConflict(syncable::MutableEntry *trans);
+} // namespace conflict_util
} // namespace syncer
#endif // SYNC_ENGINE_CONFLICT_UTIL_H_