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

Unified Diff: components/sync/engine_impl/model_type_worker_unittest.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/model_type_worker_unittest.cc
diff --git a/components/sync/engine_impl/model_type_worker_unittest.cc b/components/sync/engine_impl/model_type_worker_unittest.cc
index f11f87cb0d9920b92de6734df711b1080fde2d19..8cd0f84b488f801116fef918c0f72bfc31914821 100644
--- a/components/sync/engine_impl/model_type_worker_unittest.cc
+++ b/components/sync/engine_impl/model_type_worker_unittest.cc
@@ -12,11 +12,11 @@
#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
#include "components/sync/base/fake_encryptor.h"
+#include "components/sync/base/hash_util.h"
#include "components/sync/engine/model_type_processor.h"
#include "components/sync/engine_impl/commit_contribution.h"
#include "components/sync/engine_impl/cycle/non_blocking_type_debug_info_emitter.h"
#include "components/sync/engine_impl/cycle/status_controller.h"
-#include "components/sync/syncable/syncable_util.h"
#include "components/sync/test/engine/mock_model_type_processor.h"
#include "components/sync/test/engine/mock_nudge_handler.h"
#include "components/sync/test/engine/single_type_mock_server.h"
@@ -32,7 +32,7 @@ const char kNigoriKeyName[] = "nigori-key";
const ModelType kModelType = PREFERENCES;
std::string GenerateTagHash(const std::string& tag) {
- return syncable::GenerateSyncableHash(kModelType, tag);
+ return GenerateSyncableHash(kModelType, tag);
}
const char kTag1[] = "tag1";

Powered by Google App Engine
This is Rietveld 408576698