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

Issue 229873002: [UMA] Fix a crash on logging user actions posted from a non-UI thread. (Closed)

Created:
6 years, 8 months ago by Ilya Sherman
Modified:
6 years, 8 months ago
CC:
chromium-reviews, jar (doing other things), jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, erikwright+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

[UMA] Fix a crash on logging user actions posted from a non-UI thread. Along the way, add DCHECKs to verify that user actions are always posted from the UI thread. BUG=360271 TEST=none R=asvitkine@chromium.org, avi@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262885

Patch Set 1 #

Total comments: 8

Patch Set 2 : De-nitting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -16 lines) Patch
M base/metrics/user_metrics.h View 1 chunk +2 lines, -0 lines 0 comments Download
M base/metrics/user_metrics.cc View 1 1 chunk +44 lines, -15 lines 0 comments Download
M content/browser/plugin_loader_posix.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Ilya Sherman
Alexei, PTAL at //base/metrics. Avi, PTAL at //content. Thanks!
6 years, 8 months ago (2014-04-09 00:41:41 UTC) #1
Avi (use Gerrit)
lgtm
6 years, 8 months ago (2014-04-09 01:13:23 UTC) #2
Alexei Svitkine (slow)
LGTM with nits https://codereview.chromium.org/229873002/diff/1/base/metrics/user_metrics.cc File base/metrics/user_metrics.cc (right): https://codereview.chromium.org/229873002/diff/1/base/metrics/user_metrics.cc#newcode37 base/metrics/user_metrics.cc:37: void Record(const std::string& action) { Nit: ...
6 years, 8 months ago (2014-04-09 15:03:43 UTC) #3
Ilya Sherman
https://codereview.chromium.org/229873002/diff/1/base/metrics/user_metrics.cc File base/metrics/user_metrics.cc (right): https://codereview.chromium.org/229873002/diff/1/base/metrics/user_metrics.cc#newcode37 base/metrics/user_metrics.cc:37: void Record(const std::string& action) { On 2014/04/09 15:03:44, Alexei ...
6 years, 8 months ago (2014-04-09 22:42:39 UTC) #4
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 8 months ago (2014-04-09 22:42:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/229873002/20001
6 years, 8 months ago (2014-04-09 22:43:37 UTC) #6
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 01:12:37 UTC) #7
Message was sent while issue was closed.
Change committed as 262885

Powered by Google App Engine
This is Rietveld 408576698