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

Unified Diff: sync/test/engine/test_syncable_utils.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/test/engine/test_id_factory.h ('k') | sync/test/engine/test_syncable_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/test_syncable_utils.h
diff --git a/sync/test/engine/test_syncable_utils.h b/sync/test/engine/test_syncable_utils.h
deleted file mode 100644
index 5975e1228ca5eb9293206ae5ab3f7ef407596eb5..0000000000000000000000000000000000000000
--- a/sync/test/engine/test_syncable_utils.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 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.
-//
-// Utilities that are useful in verifying the state of items in a
-// syncable database.
-
-#ifndef SYNC_TEST_ENGINE_TEST_SYNCABLE_UTILS_H_
-#define SYNC_TEST_ENGINE_TEST_SYNCABLE_UTILS_H_
-
-#include <string>
-
-#include "sync/internal_api/public/base/model_type.h"
-#include "sync/protocol/sync.pb.h"
-
-namespace syncer {
-namespace syncable {
-
-class BaseTransaction;
-class Directory;
-class Id;
-class WriteTransaction;
-
-// Count the number of entries with a given name inside of a parent.
-// Useful to check folder structure and for porting older tests that
-// rely on uniqueness inside of folders.
-int CountEntriesWithName(BaseTransaction* rtrans,
- const syncable::Id& parent_id,
- const std::string& name);
-
-// Get the first entry ID with name in a parent. The entry *must* exist.
-Id GetFirstEntryWithName(BaseTransaction* rtrans,
- const syncable::Id& parent_id,
- const std::string& name);
-
-// Assert that there's only one entry by this name in this parent.
-// Return the Id.
-Id GetOnlyEntryWithName(BaseTransaction* rtrans,
- const syncable::Id& parent_id,
- const std::string& name);
-
-void CreateTypeRoot(WriteTransaction* trans,
- syncable::Directory *dir,
- ModelType type);
-
-sync_pb::DataTypeProgressMarker BuildProgress(ModelType type);
-
-} // namespace syncable
-} // namespace syncer
-
-#endif // SYNC_TEST_ENGINE_TEST_SYNCABLE_UTILS_H_
« no previous file with comments | « sync/test/engine/test_id_factory.h ('k') | sync/test/engine/test_syncable_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698