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

Unified Diff: components/sync/model_impl/shared_model_type_processor.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/model_impl/shared_model_type_processor.cc
diff --git a/components/sync/model_impl/shared_model_type_processor.cc b/components/sync/model_impl/shared_model_type_processor.cc
index fdb175699b237164a9d6a8dc0db6da427f563504..b55963b38da1a4620e56db764787aa9626c5760d 100644
--- a/components/sync/model_impl/shared_model_type_processor.cc
+++ b/components/sync/model_impl/shared_model_type_processor.cc
@@ -12,11 +12,11 @@
#include "base/memory/ptr_util.h"
#include "base/metrics/histogram_macros.h"
#include "base/threading/thread_task_runner_handle.h"
+#include "components/sync/base/hash_util.h"
#include "components/sync/engine/activation_context.h"
#include "components/sync/engine/commit_queue.h"
#include "components/sync/engine/model_type_processor_proxy.h"
#include "components/sync/model_impl/processor_entity_tracker.h"
-#include "components/sync/syncable/syncable_util.h"
namespace syncer {
@@ -596,7 +596,7 @@ void SharedModelTypeProcessor::ConsumeDataBatch(
}
std::string SharedModelTypeProcessor::GetHashForTag(const std::string& tag) {
- return syncable::GenerateSyncableHash(type_, tag);
+ return GenerateSyncableHash(type_, tag);
}
std::string SharedModelTypeProcessor::GetClientTagHash(
« no previous file with comments | « components/sync/model_impl/processor_entity_tracker_unittest.cc ('k') | components/sync/syncable/directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698