summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/syncable/path_name_cmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/syncable/path_name_cmp.h')
-rw-r--r--chrome/browser/sync/syncable/path_name_cmp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/sync/syncable/path_name_cmp.h b/chrome/browser/sync/syncable/path_name_cmp.h
new file mode 100644
index 0000000..6c2e138
--- /dev/null
+++ b/chrome/browser/sync/syncable/path_name_cmp.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2009 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 CHROME_BROWSER_SYNC_SYNCABLE_PATH_NAME_CMP_H_
+#define CHROME_BROWSER_SYNC_SYNCABLE_PATH_NAME_CMP_H_
+
+#include <string>
+
+#include "chrome/browser/sync/util/sync_types.h"
+
+namespace syncable {
+
+struct LessPathNames {
+ bool operator() (const std::string&, const std::string&) const;
+};
+
+int ComparePathNames(const std::string& a, const std::string& b);
+
+} // namespace syncable
+
+#endif // CHROME_BROWSER_SYNC_SYNCABLE_PATH_NAME_CMP_H_