Index: sync/internal_api/write_node.cc |
diff --git a/sync/internal_api/write_node.cc b/sync/internal_api/write_node.cc |
index 6f70b3da11bc2debfe95b2af23503f1840e7c92d..0c1c2ad469963c27ee4d936eda1f275e8d85f5c8 100644 |
--- a/sync/internal_api/write_node.cc |
+++ b/sync/internal_api/write_node.cc |
@@ -19,6 +19,7 @@ |
#include "sync/protocol/typed_url_specifics.pb.h" |
#include "sync/syncable/mutable_entry.h" |
#include "sync/syncable/nigori_util.h" |
+#include "sync/syncable/syncable_util.h" |
#include "sync/util/cryptographer.h" |
using std::string; |
@@ -292,7 +293,7 @@ BaseNode::InitByLookupResult WriteNode::InitByClientTagLookup( |
if (tag.empty()) |
return INIT_FAILED_PRECONDITION; |
- const std::string hash = GenerateSyncableHash(model_type, tag); |
+ const std::string hash = syncable::GenerateSyncableHash(model_type, tag); |
entry_ = new syncable::MutableEntry(transaction_->GetWrappedWriteTrans(), |
syncable::GET_BY_CLIENT_TAG, hash); |
@@ -380,7 +381,7 @@ WriteNode::InitUniqueByCreationResult WriteNode::InitUniqueByCreation( |
return INIT_FAILED_EMPTY_TAG; |
} |
- const std::string hash = GenerateSyncableHash(model_type, tag); |
+ const std::string hash = syncable::GenerateSyncableHash(model_type, tag); |
syncable::Id parent_id = parent.GetEntry()->Get(syncable::ID); |