Index: content/browser/dom_storage/local_storage_database_adapter.cc |
diff --git a/webkit/browser/dom_storage/local_storage_database_adapter.cc b/content/browser/dom_storage/local_storage_database_adapter.cc |
similarity index 60% |
rename from webkit/browser/dom_storage/local_storage_database_adapter.cc |
rename to content/browser/dom_storage/local_storage_database_adapter.cc |
index 681939e635e3d1c881419b47e3714207978bff6c..4d1aca70865091c7cbfff487e15655f5005dbc94 100644 |
--- a/webkit/browser/dom_storage/local_storage_database_adapter.cc |
+++ b/content/browser/dom_storage/local_storage_database_adapter.cc |
@@ -2,26 +2,26 @@ |
// 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 "content/browser/dom_storage/local_storage_database_adapter.h" |
#include "base/file_util.h" |
-#include "webkit/browser/dom_storage/dom_storage_database.h" |
+#include "content/browser/dom_storage/dom_storage_database.h" |
-namespace dom_storage { |
+namespace content { |
LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter( |
const base::FilePath& path) |
- : db_(new DomStorageDatabase(path)) { |
+ : db_(new DOMStorageDatabase(path)) { |
} |
LocalStorageDatabaseAdapter::~LocalStorageDatabaseAdapter() { } |
-void LocalStorageDatabaseAdapter::ReadAllValues(ValuesMap* result) { |
+void LocalStorageDatabaseAdapter::ReadAllValues(DOMStorageValuesMap* result) { |
db_->ReadAllValues(result); |
} |
bool LocalStorageDatabaseAdapter::CommitChanges( |
- bool clear_all_first, const ValuesMap& changes) { |
+ bool clear_all_first, const DOMStorageValuesMap& changes) { |
return db_->CommitChanges(clear_all_first, changes); |
} |
@@ -30,11 +30,11 @@ void LocalStorageDatabaseAdapter::DeleteFiles() { |
} |
void LocalStorageDatabaseAdapter::Reset() { |
- db_.reset(new DomStorageDatabase(db_->file_path())); |
+ db_.reset(new DOMStorageDatabase(db_->file_path())); |
} |
LocalStorageDatabaseAdapter::LocalStorageDatabaseAdapter() |
- : db_(new DomStorageDatabase()) { |
+ : db_(new DOMStorageDatabase()) { |
} |
-} // namespace dom_storage |
+} // namespace content |