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

Unified Diff: webkit/dom_storage/session_storage_database_adapter.h

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.h
===================================================================
--- webkit/dom_storage/session_storage_database_adapter.h (revision 203766)
+++ webkit/dom_storage/session_storage_database_adapter.h (working copy)
@@ -1,35 +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_DOM_STORAGE_SESSION_STORAGE_DATABASE_ADAPTER_H_
-#define WEBKIT_DOM_STORAGE_SESSION_STORAGE_DATABASE_ADAPTER_H_
-
-#include "base/memory/ref_counted.h"
-#include "googleurl/src/gurl.h"
-#include "webkit/dom_storage/dom_storage_database_adapter.h"
-
-namespace dom_storage {
-
-class SessionStorageDatabase;
-
-class SessionStorageDatabaseAdapter : public DomStorageDatabaseAdapter {
- public:
- SessionStorageDatabaseAdapter(SessionStorageDatabase* db,
- const std::string& permanent_namespace_id,
- const GURL& origin);
- virtual ~SessionStorageDatabaseAdapter();
- virtual void ReadAllValues(ValuesMap* result) OVERRIDE;
- virtual bool CommitChanges(bool clear_all_first,
- const ValuesMap& changes) OVERRIDE;
- private:
- scoped_refptr<SessionStorageDatabase> db_;
- std::string permanent_namespace_id_;
- GURL origin_;
-
- DISALLOW_COPY_AND_ASSIGN(SessionStorageDatabaseAdapter);
-};
-
-} // namespace dom_storage
-
-#endif // WEBKIT_DOM_STORAGE_SESSION_STORAGE_DATABASE_ADAPTER_H_
« no previous file with comments | « webkit/dom_storage/session_storage_database.cc ('k') | webkit/dom_storage/session_storage_database_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698