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

Issue 723923004: Files.app: Add UMA for HardUnplugged events. (Closed)

Created:
6 years, 1 month ago by hirono
Modified:
6 years ago
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, yoshiki+watch_chromium.org, asvitkine+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Files.app: Add UMA for HardUnplugged events. The CL adds UMA for the number of seconds: * between HardUnplugged event and Suspend event * between SuspendDone event and HardUnplugged event The numbers are needed for setting the best suppresing time for the hard unplugged event. BUG=433734 TEST=None Committed: https://crrev.com/7f60d255a1c40caf8985552155a0ae46acd45299 Cr-Commit-Position: refs/heads/master@{#306523}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed. #

Total comments: 4

Patch Set 3 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M chrome/browser/chromeos/extensions/file_manager/device_event_router.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/device_event_router.cc View 1 2 3 chunks +15 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
hirono
PTAL the CL? Thanks!
6 years, 1 month ago (2014-11-17 07:25:50 UTC) #2
mtomasz
https://codereview.chromium.org/723923004/diff/1/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc File chrome/browser/chromeos/extensions/file_manager/device_event_router.cc (right): https://codereview.chromium.org/723923004/diff/1/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc#newcode135 chrome/browser/chromeos/extensions/file_manager/device_event_router.cc:135: UMA_HISTOGRAM_CUSTOM_TIMES("FileBrowser.HardUnpluggedBeforeSuspend", I think that if there was no unplugging, ...
6 years, 1 month ago (2014-11-17 08:48:04 UTC) #3
hirono
https://codereview.chromium.org/723923004/diff/1/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc File chrome/browser/chromeos/extensions/file_manager/device_event_router.cc (right): https://codereview.chromium.org/723923004/diff/1/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc#newcode135 chrome/browser/chromeos/extensions/file_manager/device_event_router.cc:135: UMA_HISTOGRAM_CUSTOM_TIMES("FileBrowser.HardUnpluggedBeforeSuspend", On 2014/11/17 08:48:03, mtomasz wrote: > I think ...
6 years ago (2014-11-25 02:32:13 UTC) #4
mtomasz
lgtm
6 years ago (2014-11-25 03:55:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723923004/20001
6 years ago (2014-11-25 04:37:03 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/26455)
6 years ago (2014-11-25 04:44:31 UTC) #9
hirono
+jar - PTAL histograms.xml? Thanks!
6 years ago (2014-11-25 10:07:36 UTC) #11
jar (doing other things)
+asvitkine for histograms.xml
6 years ago (2014-11-25 17:41:32 UTC) #13
Alexei Svitkine (slow)
https://codereview.chromium.org/723923004/diff/20001/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc File chrome/browser/chromeos/extensions/file_manager/device_event_router.cc (right): https://codereview.chromium.org/723923004/diff/20001/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc#newcode89 chrome/browser/chromeos/extensions/file_manager/device_event_router.cc:89: base::TimeDelta::FromSeconds(30), 50); Nit: I suggest using UMA_HISTOGRAM_MEDIUM_TIMES(). The only ...
6 years ago (2014-11-25 17:48:13 UTC) #14
hirono
https://codereview.chromium.org/723923004/diff/20001/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc File chrome/browser/chromeos/extensions/file_manager/device_event_router.cc (right): https://codereview.chromium.org/723923004/diff/20001/chrome/browser/chromeos/extensions/file_manager/device_event_router.cc#newcode89 chrome/browser/chromeos/extensions/file_manager/device_event_router.cc:89: base::TimeDelta::FromSeconds(30), 50); On 2014/11/25 17:48:12, Alexei Svitkine (OOO) wrote: ...
6 years ago (2014-12-02 08:52:43 UTC) #15
Alexei Svitkine (slow)
lgtm
6 years ago (2014-12-02 15:03:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723923004/40001
6 years ago (2014-12-03 00:34:13 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-03 01:49:34 UTC) #19
commit-bot: I haz the power
6 years ago (2014-12-03 01:50:10 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7f60d255a1c40caf8985552155a0ae46acd45299
Cr-Commit-Position: refs/heads/master@{#306523}

Powered by Google App Engine
This is Rietveld 408576698