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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h

Issue 2320213004: Port IndexedDB open() and database callbacks to Mojo. (Closed)
Patch Set: Make DatabaseClient an associated interface. Created 4 years, 3 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/public/platform/modules/indexeddb/WebIDBFactory.h
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
index 1cb96a0c4a255d025c5a93a6f595989bb7af4e5f..441c889f699d3fc9c6254f6dbb6c023e8f4db02d 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
@@ -29,12 +29,12 @@
#ifndef WebIDBFactory_h
#define WebIDBFactory_h
+#include "mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h"
#include "public/platform/WebCommon.h"
namespace blink {
class WebIDBCallbacks;
-class WebIDBDatabaseCallbacks;
class WebSecurityOrigin;
class WebString;
@@ -43,7 +43,7 @@ public:
virtual ~WebIDBFactory() { }
virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&) = 0;
- virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks*, WebIDBDatabaseCallbacks*, const WebSecurityOrigin&) = 0;
+ virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks*, mojo::ScopedInterfaceEndpointHandle*, const WebSecurityOrigin&) = 0;
virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698