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

Unified Diff: content/child/indexed_db/webidbdatabase_impl.h

Issue 320833002: [IndexedDB] Use consistent enums on both sides of IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase patch. 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
Index: content/child/indexed_db/webidbdatabase_impl.h
diff --git a/content/child/indexed_db/webidbdatabase_impl.h b/content/child/indexed_db/webidbdatabase_impl.h
index c488af6fe4639a6ece64afae7041749cf985fcb4..dad6c089bcc29923d368c9107808507e21836284 100644
--- a/content/child/indexed_db/webidbdatabase_impl.h
+++ b/content/child/indexed_db/webidbdatabase_impl.h
@@ -9,6 +9,7 @@
#include "base/memory/ref_counted.h"
#include "third_party/WebKit/public/platform/WebIDBCursor.h"
#include "third_party/WebKit/public/platform/WebIDBDatabase.h"
+#include "third_party/WebKit/public/platform/WebIDBTypes.h"
namespace blink {
class WebBlobInfo;
@@ -38,7 +39,7 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
virtual void createTransaction(long long transaction_id,
blink::WebIDBDatabaseCallbacks* callbacks,
const blink::WebVector<long long>& scope,
- blink::WebIDBDatabase::TransactionMode mode);
+ blink::WebIDBTransactionMode mode);
virtual void close();
virtual void get(long long transactionId,
long long objectStoreId,
@@ -51,7 +52,7 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
const blink::WebData& value,
const blink::WebVector<blink::WebBlobInfo>& webBlobInfo,
const blink::WebIDBKey&,
- PutMode,
+ blink::WebIDBPutMode,
blink::WebIDBCallbacks*,
const blink::WebVector<long long>& indexIds,
const blink::WebVector<WebIndexKeys>&);
@@ -67,9 +68,9 @@ class WebIDBDatabaseImpl : public blink::WebIDBDatabase {
long long objectStoreId,
long long indexId,
const blink::WebIDBKeyRange&,
- blink::WebIDBCursor::Direction direction,
+ blink::WebIDBCursorDirection direction,
bool keyOnly,
- TaskType,
+ blink::WebIDBTaskType,
blink::WebIDBCallbacks*);
virtual void count(long long transactionId,
long long objectStoreId,
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/child/indexed_db/webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698