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

Issue 2566323002: Defer Posting StoreMetricsClientInfo During PreCreateThreads (Closed)

Created:
4 years ago by robliao
Modified:
4 years ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer Posting StoreMetricsClientInfo During PreCreateThreads The BlockingPool isn't ready to go during PreCreateThreads. This CL posts a task to UI's message loop to post the real task to call StoreMetricsClientInfo. BUG=670137 Committed: https://crrev.com/14cdd1233c48fdd5268dbdc4ad5219c638ee22d7 Cr-Commit-Position: refs/heads/master@{#438254}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -3 lines) Patch
M chrome/browser/metrics/chrome_metrics_services_manager_client.cc View 1 1 chunk +13 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
robliao
4 years ago (2016-12-12 23:17:19 UTC) #4
chromium-reviews
Can this sort of thing be done internally by blocking pool's posttask? This way, we ...
4 years ago (2016-12-12 23:29:57 UTC) #5
robliao
On 2016/12/12 23:29:57, chromium-reviews wrote: > Can this sort of thing be done internally by ...
4 years ago (2016-12-13 00:10:14 UTC) #6
gab
On 2016/12/13 00:10:14, robliao wrote: > On 2016/12/12 23:29:57, chromium-reviews wrote: > > Can this ...
4 years ago (2016-12-13 14:49:50 UTC) #9
Alexei Svitkine (slow)
lgtm ... but I still worry that over time more places will need to do ...
4 years ago (2016-12-13 15:32:15 UTC) #11
gab
On 2016/12/13 15:32:15, Alexei Svitkine (OO from 15th) wrote: > lgtm > > ... but ...
4 years ago (2016-12-13 15:56:44 UTC) #12
gab
https://codereview.chromium.org/2566323002/diff/1/chrome/browser/metrics/chrome_metrics_services_manager_client.cc File chrome/browser/metrics/chrome_metrics_services_manager_client.cc (right): https://codereview.chromium.org/2566323002/diff/1/chrome/browser/metrics/chrome_metrics_services_manager_client.cc#newcode63 chrome/browser/metrics/chrome_metrics_services_manager_client.cc:63: // blocking pool is ready to go. (this sentence ...
4 years ago (2016-12-13 15:58:39 UTC) #13
fdoray
lgtm +1 to gab@'s comment
4 years ago (2016-12-13 16:24:18 UTC) #14
robliao
https://codereview.chromium.org/2566323002/diff/1/chrome/browser/metrics/chrome_metrics_services_manager_client.cc File chrome/browser/metrics/chrome_metrics_services_manager_client.cc (right): https://codereview.chromium.org/2566323002/diff/1/chrome/browser/metrics/chrome_metrics_services_manager_client.cc#newcode63 chrome/browser/metrics/chrome_metrics_services_manager_client.cc:63: // blocking pool is ready to go. On 2016/12/13 ...
4 years ago (2016-12-13 18:19:38 UTC) #16
robliao
brettw@chromium.org: Please review this CL. Thanks!
4 years ago (2016-12-13 18:23:51 UTC) #20
brettw
lgtm
4 years ago (2016-12-13 19:14:49 UTC) #21
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/2566323002/40001
4 years ago (2016-12-13 19:25:13 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-13 19:31:09 UTC) #29
commit-bot: I haz the power
4 years ago (2016-12-13 19:35:12 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/14cdd1233c48fdd5268dbdc4ad5219c638ee22d7
Cr-Commit-Position: refs/heads/master@{#438254}

Powered by Google App Engine
This is Rietveld 408576698