Index: sync/syncable/in_memory_directory_backing_store.cc |
diff --git a/sync/syncable/in_memory_directory_backing_store.cc b/sync/syncable/in_memory_directory_backing_store.cc |
deleted file mode 100644 |
index da668c4740d87f894b5fae6a6848028addf47f35..0000000000000000000000000000000000000000 |
--- a/sync/syncable/in_memory_directory_backing_store.cc |
+++ /dev/null |
@@ -1,41 +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. |
- |
-#include "sync/syncable/in_memory_directory_backing_store.h" |
- |
-namespace syncer { |
-namespace syncable { |
- |
-InMemoryDirectoryBackingStore::InMemoryDirectoryBackingStore( |
- const std::string& dir_name) |
- : DirectoryBackingStore(dir_name) { |
-} |
- |
-DirOpenResult InMemoryDirectoryBackingStore::Load( |
- Directory::MetahandlesMap* handles_map, |
- JournalIndex* delete_journals, |
- MetahandleSet* metahandles_to_purge, |
- Directory::KernelLoadInfo* kernel_load_info) { |
- if (!IsOpen()) { |
- if (!OpenInMemory()) |
- return FAILED_OPEN_DATABASE; |
- } |
- |
- if (!InitializeTables()) |
- return FAILED_OPEN_DATABASE; |
- |
- if (!LoadEntries(handles_map, metahandles_to_purge)) |
- return FAILED_DATABASE_CORRUPT; |
- if (!LoadDeleteJournals(delete_journals)) |
- return FAILED_DATABASE_CORRUPT; |
- if (!LoadInfo(kernel_load_info)) |
- return FAILED_DATABASE_CORRUPT; |
- if (!VerifyReferenceIntegrity(handles_map)) |
- return FAILED_DATABASE_CORRUPT; |
- |
- return OPENED; |
-} |
- |
-} // namespace syncable |
-} // namespace syncer |