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

Unified Diff: content/browser/indexed_db/indexed_db_database.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: 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/browser/indexed_db/indexed_db_database.h
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h
index 63a438a4bb6b95d13f4b9727b5a36da664053cb6..52ef9ebc597450d3d9a2ff3dac32ff4433f87081 100644
--- a/content/browser/indexed_db/indexed_db_database.h
+++ b/content/browser/indexed_db/indexed_db_database.h
@@ -37,11 +37,6 @@ struct IndexedDBValue;
class CONTENT_EXPORT IndexedDBDatabase
: NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) {
public:
- enum TaskType {
- NORMAL_TASK = 0,
- PREEMPTIVE_TASK
- };
-
enum PutMode {
jsbell 2014/06/09 16:38:27 Remove this enum too?
Pritam Nikam 2014/06/11 14:05:16 Done.
ADD_OR_UPDATE,
ADD_ONLY,
@@ -146,9 +141,9 @@ class CONTENT_EXPORT IndexedDBDatabase
int64 object_store_id,
int64 index_id,
scoped_ptr<IndexedDBKeyRange> key_range,
- indexed_db::CursorDirection,
+ blink::Direction,
bool key_only,
- TaskType task_type,
+ blink::TaskType task_type,
scoped_refptr<IndexedDBCallbacks> callbacks);
void Count(int64 transaction_id,
int64 object_store_id,

Powered by Google App Engine
This is Rietveld 408576698