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

Unified Diff: components/sync/test/directory_backing_store_corruption_testing.h

Issue 2424533002: Modify sync unit test to use standard sql::test:: helper. (Closed)
Patch Set: BUILD.gn merge Created 4 years, 2 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
Index: components/sync/test/directory_backing_store_corruption_testing.h
diff --git a/components/sync/test/directory_backing_store_corruption_testing.h b/components/sync/test/directory_backing_store_corruption_testing.h
deleted file mode 100644
index 3f43c0bc98c853cc9a5ceb43a59ab104d2259dfa..0000000000000000000000000000000000000000
--- a/components/sync/test/directory_backing_store_corruption_testing.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2015 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 COMPONENTS_SYNC_TEST_DIRECTORY_BACKING_STORE_CORRUPTION_TESTING_H_
-#define COMPONENTS_SYNC_TEST_DIRECTORY_BACKING_STORE_CORRUPTION_TESTING_H_
-
-#include "base/files/file_path.h"
-
-namespace syncer {
-namespace syncable {
-namespace corruption_testing {
-
-// The number of DB entries required to reliably trigger detectable corruption
-// using |CorruptDatabase|.
-extern const int kNumEntriesRequiredForCorruption;
-
-// Corrupt the sync database at |backing_file_path|.
-//
-// Returns true if the database was successfully corrupted.
-bool CorruptDatabase(const base::FilePath& backing_file_path);
-
-} // namespace corruption_testing
-} // namespace syncable
-} // namespace syncer
-
-#endif // COMPONENTS_SYNC_TEST_DIRECTORY_BACKING_STORE_CORRUPTION_TESTING_H_

Powered by Google App Engine
This is Rietveld 408576698