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

Unified Diff: webkit/dom_storage/session_storage_database_adapter.cc

Issue 15990007: Move dom_storage to new locations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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: webkit/dom_storage/session_storage_database_adapter.cc
===================================================================
--- webkit/dom_storage/session_storage_database_adapter.cc (revision 203766)
+++ webkit/dom_storage/session_storage_database_adapter.cc (working copy)
@@ -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 "webkit/dom_storage/session_storage_database_adapter.h"
-
-#include "webkit/dom_storage/session_storage_database.h"
-
-namespace dom_storage {
-
-SessionStorageDatabaseAdapter::SessionStorageDatabaseAdapter(
- SessionStorageDatabase* db,
- const std::string& permanent_namespace_id,
- const GURL& origin)
- : db_(db),
- permanent_namespace_id_(permanent_namespace_id),
- origin_(origin) {
-}
-
-SessionStorageDatabaseAdapter::~SessionStorageDatabaseAdapter() { }
-
-void SessionStorageDatabaseAdapter::ReadAllValues(ValuesMap* result) {
- db_->ReadAreaValues(permanent_namespace_id_, origin_, result);
-}
-
-bool SessionStorageDatabaseAdapter::CommitChanges(
- bool clear_all_first, const ValuesMap& changes) {
- return db_->CommitAreaChanges(permanent_namespace_id_, origin_,
- clear_all_first, changes);
-}
-
-} // namespace dom_storage
« no previous file with comments | « webkit/dom_storage/session_storage_database_adapter.h ('k') | webkit/dom_storage/session_storage_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698