DescriptionMake CookieStore no longer threadsafe.
In practice, it's only used on one thread, and it's one of the few net
classes that tries to be threadsafe. This also removes a lot of
locking, which Chromium code generally tries to avoid doing.
Other than removing thread-safety, and invoking FlushStore's
callback on the network thread, the API is unchanged.
BUG=46185
Committed: https://crrev.com/be0910d6b03b3433448d25587ac57035d227b0d9
Cr-Commit-Position: refs/heads/master@{#378505}
Patch Set 1 #Patch Set 2 : Use weak pointers #Patch Set 3 : Fix stuff #Patch Set 4 : merge #
Total comments: 9
Patch Set 5 : response to comments #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 20 (10 generated)
|