Chromium Code Reviews
DescriptionAdd FileNetLogObserver::FileWriter::FlushThenStop(), update FileNetLogObserver::StopObserving() to use it.
This cleans up some code where two related functions, whose order of execution must be enforced, are being separately posted to a thread (thus not explicitly enforcing the order of execution). This adds a helper function which internally calls the two functions in the correct order. Now, the helper function is posted instead of the two functions separately.
BUG=
Review-Url: https://codereview.chromium.org/2658753002
Cr-Commit-Position: refs/heads/master@{#446891}
Committed: https://chromium.googlesource.com/chromium/src/+/3c6b5e31567422169bd1cff7321a70db2a835df6
Patch Set 1 #Patch Set 2 : Rebase #
Depends on Patchset: Messages
Total messages: 14 (10 generated)
|
|||||||||||||||||||