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

Unified Diff: public/platform/WebIDBDatabase.h

Issue 348203002: [IndexedDB] Removed FIXMEs as consistent enums being used on both sides of IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « public/platform/WebIDBCursor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebIDBDatabase.h
diff --git a/public/platform/WebIDBDatabase.h b/public/platform/WebIDBDatabase.h
index 61f3ae14f6b5ae83680deb7be6955beaf6912040..08ccd3582370717bb48c3ce866bf9bfda4889a00 100644
--- a/public/platform/WebIDBDatabase.h
+++ b/public/platform/WebIDBDatabase.h
@@ -47,12 +47,6 @@ class WebIDBDatabase {
public:
virtual ~WebIDBDatabase() { }
- // FIXME: Remove once Chromium is updated to use the new enums.
- typedef WebIDBTransactionMode TransactionMode;
- static const WebIDBTransactionMode TransactionReadOnly = WebIDBTransactionModeReadOnly;
- static const WebIDBTransactionMode TransactionReadWrite = WebIDBTransactionModeReadWrite;
- static const WebIDBTransactionMode TransactionVersionChange = WebIDBTransactionModeVersionChange;
-
virtual void createObjectStore(long long transactionId, long long objectStoreId, const WebString& name, const WebIDBKeyPath&, bool autoIncrement) { BLINK_ASSERT_NOT_REACHED(); }
virtual void deleteObjectStore(long long transactionId, long long objectStoreId) { BLINK_ASSERT_NOT_REACHED(); }
virtual void createTransaction(long long id, WebIDBDatabaseCallbacks*, const WebVector<long long>& scope, blink::WebIDBTransactionMode) { BLINK_ASSERT_NOT_REACHED(); }
@@ -65,19 +59,6 @@ public:
virtual void createIndex(long long transactionId, long long objectStoreId, long long indexId, const WebString& name, const WebIDBKeyPath&, bool unique, bool multiEntry) { BLINK_ASSERT_NOT_REACHED(); }
virtual void deleteIndex(long long transactionId, long long objectStoreId, long long indexId) { BLINK_ASSERT_NOT_REACHED(); }
- // FIXME: Remove once Chromium is updated to use the new enums.
- typedef WebIDBTaskType TaskType;
- static const WebIDBTaskType NormalTask = WebIDBTaskTypeNormal;
- static const WebIDBTaskType PreemptiveTask = WebIDBTaskTypePreemptive;
- static const WebIDBTaskType TaskTypeLast = WebIDBTaskTypeLast;
-
- // FIXME: Remove once Chromium is updated to use the new enums.
- typedef WebIDBPutMode PutMode;
- static const WebIDBPutMode AddOrUpdate = WebIDBPutModeAddOrUpdate;
- static const WebIDBPutMode AddOnly = WebIDBPutModeAddOnly;
- static const WebIDBPutMode CursorUpdate = WebIDBPutModeCursorUpdate;
- static const WebIDBPutMode PutModeLast = WebIDBPutModeLast;
-
static const long long minimumIndexId = 30;
typedef WebVector<WebIDBKey> WebIndexKeys;
« no previous file with comments | « public/platform/WebIDBCursor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698