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

Unified Diff: components/sync/engine_impl/test_entry_factory.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
« no previous file with comments | « components/sync/engine_impl/syncer_util.cc ('k') | components/sync/engine_impl/uss_migrator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/test_entry_factory.cc
diff --git a/components/sync/engine_impl/test_entry_factory.cc b/components/sync/engine_impl/test_entry_factory.cc
index ad9f6349500bd36d754e93257dc8340a1f62dd37..0960d869f2ff2105e19fcaa2c9dfb49e60918846 100644
--- a/components/sync/engine_impl/test_entry_factory.cc
+++ b/components/sync/engine_impl/test_entry_factory.cc
@@ -4,6 +4,7 @@
#include "components/sync/engine_impl/test_entry_factory.h"
+#include "components/sync/base/hash_util.h"
#include "components/sync/base/model_type.h"
#include "components/sync/syncable/directory.h"
#include "components/sync/syncable/entry.h"
@@ -12,7 +13,6 @@
#include "components/sync/syncable/syncable_id.h"
#include "components/sync/syncable/syncable_model_neutral_write_transaction.h"
#include "components/sync/syncable/syncable_read_transaction.h"
-#include "components/sync/syncable/syncable_util.h"
#include "components/sync/syncable/syncable_write_transaction.h"
#include "components/sync/test/engine/test_id_factory.h"
@@ -171,7 +171,7 @@ int64_t TestEntryFactory::CreateSyncedItem(
entry.PutId(item_id);
entry.PutCtime(now);
entry.PutMtime(now);
- entry.PutUniqueClientTag(syncable::GenerateSyncableHash(model_type, name));
+ entry.PutUniqueClientTag(GenerateSyncableHash(model_type, name));
entry.PutBaseVersion(version);
entry.PutIsUnsynced(false);
entry.PutNonUniqueName(name);
« no previous file with comments | « components/sync/engine_impl/syncer_util.cc ('k') | components/sync/engine_impl/uss_migrator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698