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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 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: third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.h b/third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.h
index 0bec4bfd4e41dc7a41ce626e20794458b1362bf1..9e6a848ebb633ec0a43382c884db0cca6ae348a1 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBVersionChangeEvent.h
@@ -32,7 +32,6 @@
#include "modules/indexeddb/IDBAny.h"
#include "modules/indexeddb/IDBRequest.h"
#include "modules/indexeddb/IDBVersionChangeEventInit.h"
-#include "public/platform/modules/indexeddb/WebIDBTypes.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
@@ -46,7 +45,7 @@ public:
{
return new IDBVersionChangeEvent();
}
- static IDBVersionChangeEvent* create(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, WebIDBDataLoss dataLoss = WebIDBDataLossNone, const String& dataLossMessage = String())
+ static IDBVersionChangeEvent* create(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, indexed_db::mojom::blink::DataLoss dataLoss = indexed_db::mojom::blink::DataLoss::None, const String& dataLossMessage = String())
{
return new IDBVersionChangeEvent(eventType, oldVersion, newVersion, dataLoss, dataLossMessage);
}
@@ -67,12 +66,12 @@ public:
private:
IDBVersionChangeEvent();
- IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, WebIDBDataLoss, const String& dataLoss);
+ IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldVersion, const Nullable<unsigned long long>& newVersion, indexed_db::mojom::blink::DataLoss, const String& dataLoss);
IDBVersionChangeEvent(const AtomicString& eventType, const IDBVersionChangeEventInit&);
unsigned long long m_oldVersion;
Nullable<unsigned long long> m_newVersion;
- WebIDBDataLoss m_dataLoss;
+ indexed_db::mojom::blink::DataLoss m_dataLoss;
String m_dataLossMessage;
};

Powered by Google App Engine
This is Rietveld 408576698