Chromium Code Reviews
DescriptionDocument that HistoryBackend is sequence-affine, not thread-affine.
HistoryBackend methods must not be called concurrently and external
synchronization is required between calls on different thread.
However, the methods do not have to be called from a single thread.
This CL documents this and adds DCHECKs to verify that
HistoryBackend methods are called in sequence.
BUG=675800, 675631
Committed: https://crrev.com/0b0b5aab6e2474e0e758ca3777b07321e59a7463
Cr-Commit-Position: refs/heads/master@{#440408}
Patch Set 1 #Patch Set 2 : self-review #
Depends on Patchset: Messages
Total messages: 11 (5 generated)
|
|||||||||||||||||||||||||||||||||||||