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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactoring after Passing URLRequestContextGetter. Created 4 years, 4 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/IDBFactory.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
index 49ca639d54468a84a69a570326844822f03e0d87..945249b571de5e075dd4839b99bee2f17d27b2a5 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
@@ -28,6 +28,7 @@
#ifndef IDBFactory_h
#define IDBFactory_h
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/indexeddb/IDBOpenDBRequest.h"
#include "platform/heap/Handle.h"
@@ -38,13 +39,16 @@ namespace blink {
class ExceptionState;
class ScriptState;
-class IDBFactory final : public GarbageCollected<IDBFactory>, public ScriptWrappable {
+class IDBFactory final : public GarbageCollectedFinalized<IDBFactory>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static IDBFactory* create()
{
return new IDBFactory();
}
+
+ virtual ~IDBFactory();
+
DEFINE_INLINE_VIRTUAL_TRACE() { }
IDBRequest* getDatabaseNames(ScriptState*, ExceptionState&);
@@ -59,6 +63,8 @@ private:
IDBFactory();
IDBOpenDBRequest* openInternal(ScriptState*, const String& name, int64_t version, ExceptionState&);
+
+ indexed_db::mojom::blink::DatabaseFactoryPtr m_proxy;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698