Index: chrome/browser/sync/syncable/in_memory_directory_backing_store.cc |
diff --git a/chrome/browser/sync/syncable/in_memory_directory_backing_store.cc b/chrome/browser/sync/syncable/in_memory_directory_backing_store.cc |
deleted file mode 100644 |
index 536f1a983d10d78de0b575148367e429aaa354f5..0000000000000000000000000000000000000000 |
--- a/chrome/browser/sync/syncable/in_memory_directory_backing_store.cc |
+++ /dev/null |
@@ -1,32 +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 "chrome/browser/sync/syncable/in_memory_directory_backing_store.h" |
- |
-namespace syncable { |
- |
-InMemoryDirectoryBackingStore::InMemoryDirectoryBackingStore( |
- const std::string& dir_name) : DirectoryBackingStore(dir_name) { |
-} |
- |
-DirOpenResult InMemoryDirectoryBackingStore::Load( |
- MetahandlesIndex* entry_bucket, |
- Directory::KernelLoadInfo* kernel_load_info) { |
- if (!db_->is_open()) { |
- if (!db_->OpenInMemory()) |
- return FAILED_OPEN_DATABASE; |
- } |
- |
- if (!InitializeTables()) |
- return FAILED_OPEN_DATABASE; |
- |
- if (!LoadEntries(entry_bucket)) |
- return FAILED_DATABASE_CORRUPT; |
- if (!LoadInfo(kernel_load_info)) |
- return FAILED_DATABASE_CORRUPT; |
- |
- return OPENED; |
-} |
- |
-} // namespace syncable |