Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Issue 2658753002: Add FileNetLogObserver::FileWriter::FlushThenStop(), update FileNetLogObserver::StopObserving() to … (Closed)

Created:
3 years, 11 months ago by wangyix
Modified:
3 years, 10 months ago
Reviewers:
eroman, wangyix1
CC:
chromium-reviews, cbentzel+watch_chromium.org, eroman, mmenke
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -7 lines) Patch
M net/log/file_net_log_observer.cc View 3 chunks +13 lines, -7 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (10 generated)
wangyix1
PTAL
3 years, 11 months ago (2017-01-26 22:27:41 UTC) #7
eroman
lgtm
3 years, 11 months ago (2017-01-26 23:09:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2658753002/20001
3 years, 10 months ago (2017-01-28 01:51:03 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 02:55:36 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3c6b5e31567422169bd1cff7321a...

Powered by Google App Engine
This is Rietveld 408576698