Open Bug 1302600 Opened 9 years ago Updated 3 years ago

Implement a way to convert table name to protocol version in non-main thread

Categories

(Toolkit :: Safe Browsing, defect, P3)

defect

Tracking

()

People

(Reporter: dimi, Unassigned)

References

Details

In some case, for example, non-main thread function in Classifier need to know if current table is v2 or v4. Currently we are only able to know this from preference or listmanager but both of them require access in main-thread. It would be good if we have a generic way to get this information in non-mainthread.
Henry has implemented a similar function - |GetProviderByTableName| in Classifier.cpp, this method dispatch task to mainthread and will be blocked until task is finished. If we don't have a good way to get required information in non-main thread directly, then we can use this approach.
Priority: -- → P3
See Also: → 1314842
Whiteboard: #sbv4-m8
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Whiteboard: #sbv4-m8 → #sbv4-m9
I'll take PTO during M9, remove myself from assignee.
Assignee: dlee → nobody
Status: ASSIGNED → NEW
Whiteboard: #sbv4-m9
No longer blocks: safebrowsingv4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.