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

Unified Diff: webkit/browser/dom_storage/local_storage_database_adapter.h

Issue 22297005: Move webkit/{browser,common}/dom_storage into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/browser/dom_storage/local_storage_database_adapter.h
diff --git a/webkit/browser/dom_storage/local_storage_database_adapter.h b/webkit/browser/dom_storage/local_storage_database_adapter.h
deleted file mode 100644
index 7cdabf4b03e0fe87ee27800cf7308c290bfd1c44..0000000000000000000000000000000000000000
--- a/webkit/browser/dom_storage/local_storage_database_adapter.h
+++ /dev/null
@@ -1,50 +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.
-
-#ifndef WEBKIT_BROWSER_DOM_STORAGE_LOCAL_STORAGE_DATABASE_ADAPTER_H_
-#define WEBKIT_BROWSER_DOM_STORAGE_LOCAL_STORAGE_DATABASE_ADAPTER_H_
-
-#include "base/gtest_prod_util.h"
-#include "base/memory/scoped_ptr.h"
-#include "webkit/browser/dom_storage/dom_storage_database_adapter.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace dom_storage {
-
-class DomStorageDatabase;
-
-class WEBKIT_STORAGE_BROWSER_EXPORT LocalStorageDatabaseAdapter :
- public DomStorageDatabaseAdapter {
- public:
- explicit LocalStorageDatabaseAdapter(const base::FilePath& path);
- virtual ~LocalStorageDatabaseAdapter();
- virtual void ReadAllValues(ValuesMap* result) OVERRIDE;
- virtual bool CommitChanges(bool clear_all_first,
- const ValuesMap& changes) OVERRIDE;
- virtual void DeleteFiles() OVERRIDE;
- virtual void Reset() OVERRIDE;
-
- protected:
- // Constructor that uses an in-memory sqlite database, for testing.
- LocalStorageDatabaseAdapter();
-
- private:
- FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, BackingDatabaseOpened);
- FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, CommitChangesAtShutdown);
- FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, CommitTasks);
- FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, DeleteOrigin);
- FRIEND_TEST_ALL_PREFIXES(DomStorageAreaTest, PurgeMemory);
-
- scoped_ptr<DomStorageDatabase> db_;
-
- DISALLOW_COPY_AND_ASSIGN(LocalStorageDatabaseAdapter);
-};
-
-} // namespace dom_storage
-
-#endif // WEBKIT_BROWSER_DOM_STORAGE_LOCAL_STORAGE_DATABASE_ADAPTER_H_
« no previous file with comments | « webkit/browser/dom_storage/dom_storage_task_runner.cc ('k') | webkit/browser/dom_storage/local_storage_database_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698