| Index: content/browser/indexed_db/indexed_db_transaction.h
|
| diff --git a/content/browser/indexed_db/indexed_db_transaction.h b/content/browser/indexed_db/indexed_db_transaction.h
|
| index e30422f15ab35b88075d42667514c06c920d062c..b81c6ccf68fe83185772a589f601b7abcab60088 100644
|
| --- a/content/browser/indexed_db/indexed_db_transaction.h
|
| +++ b/content/browser/indexed_db/indexed_db_transaction.h
|
| @@ -33,7 +33,7 @@ class CONTENT_EXPORT IndexedDBTransaction
|
| int64 id,
|
| scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
|
| const std::set<int64>& object_store_ids,
|
| - indexed_db::TransactionMode,
|
| + blink::TransactionMode,
|
| IndexedDBDatabase* db,
|
| IndexedDBBackingStore::Transaction* backing_store_transaction);
|
|
|
| @@ -44,13 +44,11 @@ class CONTENT_EXPORT IndexedDBTransaction
|
| // Called by the transaction coordinator when this transaction is unblocked.
|
| void Start();
|
|
|
| - indexed_db::TransactionMode mode() const { return mode_; }
|
| + blink::TransactionMode mode() const { return mode_; }
|
| const std::set<int64>& scope() const { return object_store_ids_; }
|
|
|
| - void ScheduleTask(Operation task) {
|
| - ScheduleTask(IndexedDBDatabase::NORMAL_TASK, task);
|
| - }
|
| - void ScheduleTask(IndexedDBDatabase::TaskType, Operation task);
|
| + void ScheduleTask(Operation task) { ScheduleTask(blink::NormalTask, task); }
|
| + void ScheduleTask(blink::TaskType, Operation task);
|
| void ScheduleAbortTask(Operation abort_task);
|
| void RegisterOpenCursor(IndexedDBCursor* cursor);
|
| void UnregisterOpenCursor(IndexedDBCursor* cursor);
|
| @@ -113,7 +111,7 @@ class CONTENT_EXPORT IndexedDBTransaction
|
|
|
| const int64 id_;
|
| const std::set<int64> object_store_ids_;
|
| - const indexed_db::TransactionMode mode_;
|
| + const blink::TransactionMode mode_;
|
|
|
| bool used_;
|
| State state_;
|
|
|