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

Unified Diff: components/sync/syncable/syncable_util.h

Issue 2502253003: [Sync] Move GenerateSyncableHash to base. (Closed)
Patch Set: Keep full syncable/ DEP. Created 4 years, 1 month 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 | « components/sync/syncable/read_node.cc ('k') | components/sync/syncable/syncable_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/syncable_util.h
diff --git a/components/sync/syncable/syncable_util.h b/components/sync/syncable/syncable_util.h
index 37dbbe95eaf4e5ab8b08060a6bbb9009b67011b9..bcf20d89daf12f31e847c6f2d177ef6f16eec2c0 100644
--- a/components/sync/syncable/syncable_util.h
+++ b/components/sync/syncable/syncable_util.h
@@ -7,11 +7,8 @@
#include <stdint.h>
-#include <string>
#include <vector>
-#include "components/sync/base/model_type.h"
-
namespace tracked_objects {
class Location;
}
@@ -37,17 +34,6 @@ bool SyncAssert(bool condition,
int GetUnsyncedEntries(BaseTransaction* trans, std::vector<int64_t>* handles);
-// Generates a fixed-length tag for the given string under the given model_type.
-std::string GenerateSyncableHash(ModelType model_type,
- const std::string& client_tag);
-
-// A helper for generating the bookmark type's tag. This is required in more
-// than one place, so we define the algorithm here to make sure the
-// implementation is consistent.
-std::string GenerateSyncableBookmarkHash(
- const std::string& originator_cache_guid,
- const std::string& originator_client_item_id);
-
} // namespace syncable
} // namespace syncer
« no previous file with comments | « components/sync/syncable/read_node.cc ('k') | components/sync/syncable/syncable_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698