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

Unified Diff: sync/syncable/syncable_util.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 months 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 | « sync/syncable/syncable_unittest.cc ('k') | sync/syncable/syncable_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_util.h
diff --git a/sync/syncable/syncable_util.h b/sync/syncable/syncable_util.h
deleted file mode 100644
index a5d80a9a8c0fce8fde4c27f1a6fb012388620454..0000000000000000000000000000000000000000
--- a/sync/syncable/syncable_util.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SYNC_SYNCABLE_SYNCABLE_UTIL_H_
-#define SYNC_SYNCABLE_SYNCABLE_UTIL_H_
-
-#include <stdint.h>
-
-#include <string>
-#include <vector>
-
-#include "sync/base/sync_export.h"
-#include "sync/internal_api/public/base/model_type.h"
-
-namespace tracked_objects {
-class Location;
-}
-
-namespace syncer {
-namespace syncable {
-
-class BaseTransaction;
-class BaseWriteTransaction;
-class ModelNeutralMutableEntry;
-class Id;
-
-SYNC_EXPORT void ChangeEntryIDAndUpdateChildren(BaseWriteTransaction* trans,
- ModelNeutralMutableEntry* entry,
- const Id& new_id);
-
-SYNC_EXPORT bool IsLegalNewParent(BaseTransaction* trans,
- const Id& id,
- const Id& parentid);
-
-bool SyncAssert(bool condition,
- const tracked_objects::Location& location,
- const char* msg,
- BaseTransaction* trans);
-
-SYNC_EXPORT int GetUnsyncedEntries(BaseTransaction* trans,
- std::vector<int64_t>* handles);
-
-// Generates a fixed-length tag for the given string under the given model_type.
-SYNC_EXPORT std::string GenerateSyncableHash(ModelType model_type,
- const std::string& client_tag);
-
-// A helper for generating the bookmark type's tag. This is required in more
-// than one place, so we define the algorithm here to make sure the
-// implementation is consistent.
-SYNC_EXPORT std::string GenerateSyncableBookmarkHash(
- const std::string& originator_cache_guid,
- const std::string& originator_client_item_id);
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // SYNC_SYNCABLE_SYNCABLE_UTIL_H_
« no previous file with comments | « sync/syncable/syncable_unittest.cc ('k') | sync/syncable/syncable_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698