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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBIndex.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/IDBIndex.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h
index 0854b459811418398273fd2bf8a62795eaf72784..82de0392f3d4aab23cb050ff6d5f7e7060970f7a 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBIndex.h
@@ -26,21 +26,20 @@
#ifndef IDBIndex_h
#define IDBIndex_h
+#include "Source/modules/indexeddb/indexed_db.mojom-blink.h"
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/indexeddb/IDBCursor.h"
#include "modules/indexeddb/IDBKeyPath.h"
#include "modules/indexeddb/IDBKeyRange.h"
#include "modules/indexeddb/IDBMetadata.h"
#include "modules/indexeddb/IDBRequest.h"
-#include "public/platform/modules/indexeddb/WebIDBCursor.h"
-#include "public/platform/modules/indexeddb/WebIDBDatabase.h"
-#include "public/platform/modules/indexeddb/WebIDBTypes.h"
#include "wtf/Forward.h"
#include "wtf/text/WTFString.h"
namespace blink {
class ExceptionState;
+class IDBDatabaseProxy;
class IDBObjectStore;
class IDBIndex final : public GarbageCollectedFinalized<IDBIndex>, public ScriptWrappable {
@@ -74,9 +73,9 @@ public:
bool isDeleted() const;
// Used internally and by InspectorIndexedDBAgent:
- IDBRequest* openCursor(ScriptState*, IDBKeyRange*, WebIDBCursorDirection);
+ IDBRequest* openCursor(ScriptState*, IDBKeyRange*, indexed_db::mojom::blink::CursorDirection);
- WebIDBDatabase* backendDB() const;
+ IDBDatabaseProxy* backendDB() const;
private:
IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*);
« no previous file with comments | « third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp ('k') | third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698