#ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_
#define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_DATABASE_ADAPTER_H_
#include "content/common/content_export.h"
#include "content/common/dom_storage/dom_storage_types.h"
namespace content {
class CONTENT_EXPORT DOMStorageDatabaseAdapter {
public:
virtual ~DOMStorageDatabaseAdapter() {}
virtual void ReadAllValues(DOMStorageValuesMap* result) = 0;
virtual bool CommitChanges(
bool clear_all_first, const DOMStorageValuesMap& changes) = 0;
virtual void DeleteFiles() {}
virtual void Reset() {}
};
}
#endif