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

Unified Diff: components/sync/engine_impl/syncer_util.cc

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
Index: components/sync/engine_impl/syncer_util.cc
diff --git a/components/sync/engine_impl/syncer_util.cc b/components/sync/engine_impl/syncer_util.cc
index b3727ae3c445794cbc7a850890fbb31465195c8a..3d80bac15393224b99b70f1931d2d9b8411d9751 100644
--- a/components/sync/engine_impl/syncer_util.cc
+++ b/components/sync/engine_impl/syncer_util.cc
@@ -13,6 +13,7 @@
#include "base/strings/string_number_conversions.h"
#include "components/sync/base/attachment_id_proto.h"
#include "components/sync/base/cryptographer.h"
+#include "components/sync/base/hash_util.h"
#include "components/sync/base/model_type.h"
#include "components/sync/base/time.h"
#include "components/sync/base/unique_position.h"
@@ -273,8 +274,8 @@ std::string GetUniqueBookmarkTagFromUpdate(const sync_pb::SyncEntity& update) {
return UniquePosition::RandomSuffix();
}
- return syncable::GenerateSyncableBookmarkHash(
- update.originator_cache_guid(), update.originator_client_item_id());
+ return GenerateSyncableBookmarkHash(update.originator_cache_guid(),
+ update.originator_client_item_id());
}
UniquePosition GetUpdatePosition(const sync_pb::SyncEntity& update,
« no previous file with comments | « components/sync/engine_impl/sync_manager_impl_unittest.cc ('k') | components/sync/engine_impl/test_entry_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698