Index: Source/modules/indexeddb/IDBVersionChangeEvent.h |
diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.h b/Source/modules/indexeddb/IDBVersionChangeEvent.h |
index 7c9765a1b5bcb64e331a6d12cec50101a6d460da..1e2e0dc1395c01899f3f719eee26d867174dd910 100644 |
--- a/Source/modules/indexeddb/IDBVersionChangeEvent.h |
+++ b/Source/modules/indexeddb/IDBVersionChangeEvent.h |
@@ -36,19 +36,21 @@ namespace WebCore { |
class IDBVersionChangeEvent : public Event { |
public: |
- static PassRefPtr<IDBVersionChangeEvent> create(PassRefPtr<IDBAny> oldVersion = IDBAny::createNull(), PassRefPtr<IDBAny> newVersion = IDBAny::createNull(), const AtomicString& eventType = AtomicString()); |
+ static PassRefPtr<IDBVersionChangeEvent> create(PassRefPtr<IDBAny> oldVersion = IDBAny::createNull(), PassRefPtr<IDBAny> newVersion = IDBAny::createNull(), const AtomicString& eventType = AtomicString(), bool dataLoss = 0); |
virtual ~IDBVersionChangeEvent(); |
virtual PassRefPtr<IDBAny> oldVersion() { return m_oldVersion; } |
virtual PassRefPtr<IDBAny> newVersion() { return m_newVersion; } |
+ virtual String dataLoss(); |
virtual const AtomicString& interfaceName() const; |
private: |
- IDBVersionChangeEvent(PassRefPtr<IDBAny> oldVersion, PassRefPtr<IDBAny> newVersion, const AtomicString& eventType); |
+ IDBVersionChangeEvent(PassRefPtr<IDBAny> oldVersion, PassRefPtr<IDBAny> newVersion, const AtomicString& eventType, bool dataLoss); |
RefPtr<IDBAny> m_oldVersion; |
RefPtr<IDBAny> m_newVersion; |
+ bool m_dataLoss; |
}; |
} // namespace WebCore |