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

Issue 2965753002: [Cleanup] Migrate the FileMetricsProvider to use the Task Scheduler. (Closed)

Created:
3 years, 5 months ago by Ilya Sherman
Modified:
3 years, 5 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Cleanup] Migrate the FileMetricsProvider to use the Task Scheduler. BUG=667892 TEST=none R=asvitkine@chromium.org, bcwhite@chromium.org Review-Url: https://codereview.chromium.org/2965753002 Cr-Commit-Position: refs/heads/master@{#484813} Committed: https://chromium.googlesource.com/chromium/src/+/69b1f42c4c8d2cd53f1c04c5a9df3d2ffa3d914f

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebase #

Patch Set 3 : Skip on shutdown (rather than continue) #

Total comments: 2

Patch Set 4 : Change DCHECK syntax #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -33 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 4 chunks +9 lines, -15 lines 0 comments Download
M components/metrics/file_metrics_provider.h View 1 4 chunks +7 lines, -4 lines 0 comments Download
M components/metrics/file_metrics_provider.cc View 1 2 3 13 chunks +34 lines, -13 lines 0 comments Download
M components/metrics/file_metrics_provider_unittest.cc View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 29 (17 generated)
Ilya Sherman
3 years, 5 months ago (2017-06-30 17:03:30 UTC) #1
bcwhite
lgtm https://codereview.chromium.org/2965753002/diff/1/components/metrics/file_metrics_provider.cc File components/metrics/file_metrics_provider.cc (right): https://codereview.chromium.org/2965753002/diff/1/components/metrics/file_metrics_provider.cc#newcode109 components/metrics/file_metrics_provider.cc:109: base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}); I don't think there's anything in here ...
3 years, 5 months ago (2017-07-04 14:50:32 UTC) #6
Ilya Sherman
Thanks! https://codereview.chromium.org/2965753002/diff/1/components/metrics/file_metrics_provider.cc File components/metrics/file_metrics_provider.cc (right): https://codereview.chromium.org/2965753002/diff/1/components/metrics/file_metrics_provider.cc#newcode109 components/metrics/file_metrics_provider.cc:109: base::TaskShutdownBehavior::CONTINUE_ON_SHUTDOWN}); On 2017/07/04 14:50:31, bcwhite wrote: > I ...
3 years, 5 months ago (2017-07-05 18:15:57 UTC) #7
bcwhite
lgtm https://codereview.chromium.org/2965753002/diff/1/components/metrics/file_metrics_provider.cc File components/metrics/file_metrics_provider.cc (right): https://codereview.chromium.org/2965753002/diff/1/components/metrics/file_metrics_provider.cc#newcode217 components/metrics/file_metrics_provider.cc:217: g_task_runner_for_testing = task_runner.get(); On 2017/07/05 18:15:56, Ilya Sherman ...
3 years, 5 months ago (2017-07-05 18:31:52 UTC) #10
Alexei Svitkine (slow)
lgtm
3 years, 5 months ago (2017-07-05 18:47:10 UTC) #13
Ilya Sherman
https://codereview.chromium.org/2965753002/diff/40001/components/metrics/file_metrics_provider.cc File components/metrics/file_metrics_provider.cc (right): https://codereview.chromium.org/2965753002/diff/40001/components/metrics/file_metrics_provider.cc#newcode217 components/metrics/file_metrics_provider.cc:217: DCHECK(g_task_runner_for_testing == nullptr); On 2017/07/05 18:31:51, bcwhite wrote: > ...
3 years, 5 months ago (2017-07-05 19:54:41 UTC) #16
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/2965753002/60001
3 years, 5 months ago (2017-07-05 19:54:51 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_TIMED_OUT, build has not started yet; ...
3 years, 5 months ago (2017-07-05 21:55:38 UTC) #19
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/2965753002/60001
3 years, 5 months ago (2017-07-06 23:25:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/422672)
3 years, 5 months ago (2017-07-06 23:58:14 UTC) #24
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/2965753002/60001
3 years, 5 months ago (2017-07-07 00:29:50 UTC) #26
commit-bot: I haz the power
3 years, 5 months ago (2017-07-07 02:59:48 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/69b1f42c4c8d2cd53f1c04c5a9df...

Powered by Google App Engine
This is Rietveld 408576698