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

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: Added link to W3C's IDL spec 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 1d000b40ef5746c34c357b0fdedd4537dfc30a42..a60ed3aae2335f276ae6ddb42689821470318785 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;
+ blink::WebIDBDataLoss dataLoss;
};
class IDBVersionChangeEvent FINAL : public Event {
@@ -59,6 +60,7 @@ public:
{
return adoptRefWillBeNoop(new IDBVersionChangeEvent(eventType, initializer));
}
+ static bool toNativeDataLoss(v8::Handle<v8::Value>, blink::WebIDBDataLoss*);
jsbell 2014/07/11 18:42:48 We shouldn't be passing v8::XXX types in modules/
cmumford 2014/07/11 20:53:05 OK - I'll convert to String or something suitable.
unsigned long long oldVersion() const { return m_oldVersion; }
unsigned long long newVersion(bool& isNull) const;

Powered by Google App Engine
This is Rietveld 408576698