Index: chrome/browser/sync/test/test_directory_backing_store.h |
diff --git a/chrome/browser/sync/test/test_directory_backing_store.h b/chrome/browser/sync/test/test_directory_backing_store.h |
deleted file mode 100644 |
index 1f446c15b219fa627d2f2110854491b8196bb028..0000000000000000000000000000000000000000 |
--- a/chrome/browser/sync/test/test_directory_backing_store.h |
+++ /dev/null |
@@ -1,53 +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. |
- |
-#ifndef CHROME_BROWSER_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ |
-#define CHROME_BROWSER_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ |
-#pragma once |
- |
-#include "base/gtest_prod_util.h" |
-#include "chrome/browser/sync/syncable/directory_backing_store.h" |
- |
-namespace syncable { |
- |
-// This implementation of DirectoryBackingStore does not manage its own |
-// database. This makes it more flexible (and more complex) than the |
-// InMemoryDirectoryBackingStore. |
-class TestDirectoryBackingStore : public DirectoryBackingStore { |
- public: |
- // This constructor takes a handle to a database. The caller maintains |
- // ownership of this handle. |
- // |
- // This is very brittle. You should not be using this class or this |
- // constructor unless you understand and intend to test the |
- // DirectoryBackingStore's internals. |
- TestDirectoryBackingStore(const std::string& dir_name, |
- sql::Connection* connection); |
- virtual ~TestDirectoryBackingStore(); |
- virtual DirOpenResult Load( |
- MetahandlesIndex* entry_bucket, |
- Directory::KernelLoadInfo* kernel_load_info) OVERRIDE; |
- |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion67To68); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion68To69); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion69To70); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion70To71); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion71To72); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion72To73); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion73To74); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion74To75); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion75To76); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion76To77); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, MigrateVersion77To78); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, ModelTypeIds); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, Corruption); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, DeleteEntries); |
- FRIEND_TEST_ALL_PREFIXES(DirectoryBackingStoreTest, GenerateCacheGUID); |
- FRIEND_TEST_ALL_PREFIXES(MigrationTest, ToCurrentVersion); |
- friend class MigrationTest; |
-}; |
- |
-} // namespace syncable |
- |
-#endif // CHROME_BROWSER_SYNC_TEST_TEST_DIRECTORY_BACKING_STORE_H_ |