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

Unified Diff: Source/modules/indexeddb/IDBVersionChangeEvent.h

Issue 386883008: Converted IDBVersionChangeEvent.dataLoss to an enumeration: IDBDataLossAmount (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase required due to the WebCore -> bling namespace rename. Created 6 years, 5 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: Source/modules/indexeddb/IDBVersionChangeEvent.h
diff --git a/Source/modules/indexeddb/IDBVersionChangeEvent.h b/Source/modules/indexeddb/IDBVersionChangeEvent.h
index cdf553627f0a74440b19db0522460146f4e81237..9d6f604d6012b5009e9ee764371286fa7dda4667 100644
--- a/Source/modules/indexeddb/IDBVersionChangeEvent.h
+++ b/Source/modules/indexeddb/IDBVersionChangeEvent.h
@@ -43,6 +43,7 @@ struct IDBVersionChangeEventInit : public EventInit {
unsigned long long oldVersion;
Nullable<unsigned long long> newVersion;
+ String dataLoss;
};
class IDBVersionChangeEvent FINAL : public Event {
@@ -77,7 +78,7 @@ private:
unsigned long long m_oldVersion;
Nullable<unsigned long long> m_newVersion;
- bool m_dataLoss;
+ blink::WebIDBDataLoss m_dataLoss;
String m_dataLossMessage;
};
« no previous file with comments | « LayoutTests/storage/indexeddb/event-init-expected.txt ('k') | Source/modules/indexeddb/IDBVersionChangeEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698