| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/sync/test/test_directory_backing_store.h" | 5 #include "sync/test/test_directory_backing_store.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace syncable { | 10 namespace syncable { |
| 11 | 11 |
| 12 TestDirectoryBackingStore::TestDirectoryBackingStore( | 12 TestDirectoryBackingStore::TestDirectoryBackingStore( |
| 13 const std::string& dir_name, sql::Connection* db) | 13 const std::string& dir_name, sql::Connection* db) |
| 14 : DirectoryBackingStore(dir_name, db) { | 14 : DirectoryBackingStore(dir_name, db) { |
| 15 } | 15 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 32 return FAILED_DATABASE_CORRUPT; | 32 return FAILED_DATABASE_CORRUPT; |
| 33 if (!LoadEntries(entry_bucket)) | 33 if (!LoadEntries(entry_bucket)) |
| 34 return FAILED_DATABASE_CORRUPT; | 34 return FAILED_DATABASE_CORRUPT; |
| 35 if (!LoadInfo(kernel_load_info)) | 35 if (!LoadInfo(kernel_load_info)) |
| 36 return FAILED_DATABASE_CORRUPT; | 36 return FAILED_DATABASE_CORRUPT; |
| 37 | 37 |
| 38 return OPENED; | 38 return OPENED; |
| 39 } | 39 } |
| 40 | 40 |
| 41 } // namespace syncable | 41 } // namespace syncable |
| OLD | NEW |