| Index: webkit/browser/dom_storage/local_storage_database_adapter.cc
|
| diff --git a/webkit/browser/dom_storage/local_storage_database_adapter.cc b/webkit/browser/dom_storage/local_storage_database_adapter.cc
|
| deleted file mode 100644
|
| index 681939e635e3d1c881419b47e3714207978bff6c..0000000000000000000000000000000000000000
|
| --- a/webkit/browser/dom_storage/local_storage_database_adapter.cc
|
| +++ /dev/null
|
| @@ -1,40 +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 "webkit/browser/dom_storage/local_storage_database_adapter.h"
|
| -
|
| -#include "base/file_util.h"
|
| -#include "webkit/browser/dom_storage/dom_storage_database.h"
|
| -
|
| -namespace dom_storage {
|
| -
|
| -LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter(
|
| - const base::FilePath& path)
|
| - : db_(new DomStorageDatabase(path)) {
|
| -}
|
| -
|
| -LocalStorageDatabaseAdapter::~LocalStorageDatabaseAdapter() { }
|
| -
|
| -void LocalStorageDatabaseAdapter::ReadAllValues(ValuesMap* result) {
|
| - db_->ReadAllValues(result);
|
| -}
|
| -
|
| -bool LocalStorageDatabaseAdapter::CommitChanges(
|
| - bool clear_all_first, const ValuesMap& changes) {
|
| - return db_->CommitChanges(clear_all_first, changes);
|
| -}
|
| -
|
| -void LocalStorageDatabaseAdapter::DeleteFiles() {
|
| - sql::Connection::Delete(db_->file_path());
|
| -}
|
| -
|
| -void LocalStorageDatabaseAdapter::Reset() {
|
| - db_.reset(new DomStorageDatabase(db_->file_path()));
|
| -}
|
| -
|
| -LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter()
|
| - : db_(new DomStorageDatabase()) {
|
| -}
|
| -
|
| -} // namespace dom_storage
|
|
|