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

Unified Diff: components/sync/syncable/read_node.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/syncable/parent_child_index_unittest.cc ('k') | components/sync/syncable/syncable_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/read_node.cc
diff --git a/components/sync/syncable/read_node.cc b/components/sync/syncable/read_node.cc
index 436ed7ee3199b50d3fe41afc40a274cca8278eb7..6f220cb48dae4326d02f38ab58358a2b526cd6f7 100644
--- a/components/sync/syncable/read_node.cc
+++ b/components/sync/syncable/read_node.cc
@@ -5,10 +5,10 @@
#include "components/sync/syncable/read_node.h"
#include "base/logging.h"
+#include "components/sync/base/hash_util.h"
#include "components/sync/syncable/base_transaction.h"
#include "components/sync/syncable/entry.h"
#include "components/sync/syncable/syncable_base_transaction.h"
-#include "components/sync/syncable/syncable_util.h"
namespace syncer {
@@ -58,7 +58,7 @@ BaseNode::InitByLookupResult ReadNode::InitByClientTagLookup(
if (tag.empty())
return INIT_FAILED_PRECONDITION;
- const std::string hash = syncable::GenerateSyncableHash(model_type, tag);
+ const std::string hash = GenerateSyncableHash(model_type, tag);
entry_ = new syncable::Entry(transaction_->GetWrappedTrans(),
syncable::GET_BY_CLIENT_TAG, hash);
« no previous file with comments | « components/sync/syncable/parent_child_index_unittest.cc ('k') | components/sync/syncable/syncable_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698