mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 08:57:34 +09:00
Issue #1693 - Use scoped enums for IDBTransaction.
Based on a patch from Mozilla bug 1598164. Needed due to identifier collision between NSS and IDBTransaction. Co-authored by: Simon Giesecke <simon.giesecke@gmail.com> Co-authored by: Matt A. Tobin <email@mattatobin.com>
This commit is contained in:
parent
89dd425fd2
commit
c920f32df3
25 changed files with 175 additions and 182 deletions
|
|
@ -119,19 +119,19 @@ public:
|
|||
Append(kCommaSpace);
|
||||
|
||||
switch (aTransaction->GetMode()) {
|
||||
case IDBTransaction::READ_ONLY:
|
||||
case IDBTransaction::Mode::ReadOnly:
|
||||
AppendLiteral("\"readonly\"");
|
||||
break;
|
||||
case IDBTransaction::READ_WRITE:
|
||||
case IDBTransaction::Mode::ReadWrite:
|
||||
AppendLiteral("\"readwrite\"");
|
||||
break;
|
||||
case IDBTransaction::READ_WRITE_FLUSH:
|
||||
case IDBTransaction::Mode::ReadWriteFlush:
|
||||
AppendLiteral("\"readwriteflush\"");
|
||||
break;
|
||||
case IDBTransaction::CLEANUP:
|
||||
case IDBTransaction::Mode::Cleanup:
|
||||
AppendLiteral("\"cleanup\"");
|
||||
break;
|
||||
case IDBTransaction::VERSION_CHANGE:
|
||||
case IDBTransaction::Mode::VersionChange:
|
||||
AppendLiteral("\"versionchange\"");
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue