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

Side by Side Diff: webkit/dom_storage/dom_storage_database_adapter.h

Issue 11088005: Automate more Better Session Restore tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export inner Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/dom_storage/dom_storage_database.h ('k') | webkit/dom_storage/dom_storage_export.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_ 5 #ifndef WEBKIT_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_
6 #define WEBKIT_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_ 6 #define WEBKIT_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_
7 7
8 // Database interface used by DomStorageArea. Abstracts the differences between 8 // Database interface used by DomStorageArea. Abstracts the differences between
9 // the per-origin DomStorageDatabases for localStorage and 9 // the per-origin DomStorageDatabases for localStorage and
10 // SessionStorageDatabase which stores multiple origins. 10 // SessionStorageDatabase which stores multiple origins.
11 11
12 #include "webkit/dom_storage/dom_storage_export.h"
12 #include "webkit/dom_storage/dom_storage_types.h" 13 #include "webkit/dom_storage/dom_storage_types.h"
13 14
14 namespace dom_storage { 15 namespace dom_storage {
15 16
16 class DomStorageDatabaseAdapter { 17 class DOM_STORAGE_EXPORT DomStorageDatabaseAdapter {
17 public: 18 public:
18 virtual ~DomStorageDatabaseAdapter() {} 19 virtual ~DomStorageDatabaseAdapter() {}
19 virtual void ReadAllValues(ValuesMap* result) = 0; 20 virtual void ReadAllValues(ValuesMap* result) = 0;
20 virtual bool CommitChanges( 21 virtual bool CommitChanges(
21 bool clear_all_first, const ValuesMap& changes) = 0; 22 bool clear_all_first, const ValuesMap& changes) = 0;
22 virtual void DeleteFiles() {} 23 virtual void DeleteFiles() {}
23 virtual void Reset() {} 24 virtual void Reset() {}
24 }; 25 };
25 26
26 } // namespace dom_storage 27 } // namespace dom_storage
27 28
28 #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_ 29 #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_
OLDNEW
« no previous file with comments | « webkit/dom_storage/dom_storage_database.h ('k') | webkit/dom_storage/dom_storage_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698