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

Unified Diff: chrome/browser/sync/test/test_directory_backing_store.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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: chrome/browser/sync/test/test_directory_backing_store.cc
diff --git a/chrome/browser/sync/test/test_directory_backing_store.cc b/chrome/browser/sync/test/test_directory_backing_store.cc
deleted file mode 100644
index 6c73324ed232b2bcd43412df0adcb04390c95dec..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/test/test_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 "chrome/browser/sync/test/test_directory_backing_store.h"
-
-#include "base/basictypes.h"
-#include "base/logging.h"
-
-namespace syncable {
-
-TestDirectoryBackingStore::TestDirectoryBackingStore(
- const std::string& dir_name, sql::Connection* db)
- : DirectoryBackingStore(dir_name, db) {
-}
-
-TestDirectoryBackingStore::~TestDirectoryBackingStore() {
- // This variant of the DirectoryBackingStore does not own its connection, so
- // we take care to not delete it here.
- ignore_result(db_.release());
-}
-
-DirOpenResult TestDirectoryBackingStore::Load(
- MetahandlesIndex* entry_bucket,
- Directory::KernelLoadInfo* kernel_load_info) {
- DCHECK(db_->is_open());
-
- if (!InitializeTables())
- return FAILED_OPEN_DATABASE;
-
- if (!DropDeletedEntries())
- return FAILED_DATABASE_CORRUPT;
- if (!LoadEntries(entry_bucket))
- return FAILED_DATABASE_CORRUPT;
- if (!LoadInfo(kernel_load_info))
- return FAILED_DATABASE_CORRUPT;
-
- return OPENED;
-}
-
-} // namespace syncable
« no previous file with comments | « chrome/browser/sync/test/test_directory_backing_store.h ('k') | chrome/browser/sync/test_profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698