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

Issue 2903883003: Log printer additions and removals by protocol. (Closed)

Created:
3 years, 7 months ago by skau
Modified:
3 years, 6 months ago
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, asvitkine+watch_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Log printer additions and removals by protocol. In order to track printer churn, we record an event when a printer is succesfully added and when a printer is removed in the settings dialogs. This data is tracked by protocol. BUG=726103 Review-Url: https://codereview.chromium.org/2903883003 Cr-Commit-Position: refs/heads/master@{#476146} Committed: https://chromium.googlesource.com/chromium/src/+/6d46ea6e7636ecdb53b00795f4893cbc32694f30

Patch Set 1 #

Patch Set 2 : record the add #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : rebased #

Patch Set 5 : minor corrections #

Patch Set 6 : log removal unconditionally #

Patch Set 7 : rebase #

Patch Set 8 : rebase again #

Total comments: 3

Patch Set 9 : address comments #

Patch Set 10 : rebase #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -4 lines) Patch
M chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc View 1 2 3 4 5 6 7 8 9 3 chunks +16 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (35 generated)
skau
xdai@: Original author mpearson@: metrics
3 years, 7 months ago (2017-05-25 05:16:03 UTC) #2
xdai1
On 2017/05/25 05:16:03, skau wrote: > xdai@: Original author > mpearson@: metrics lgtm
3 years, 7 months ago (2017-05-25 17:57:42 UTC) #3
skau
hcarmona@: OWNER of settings
3 years, 7 months ago (2017-05-25 19:54:17 UTC) #5
Mark P
If you have a concrete answer to the note below, feel free to submit this ...
3 years, 7 months ago (2017-05-25 20:48:17 UTC) #6
skau
Thanks. I just rebased it on top of the CL with the enum. https://codereview.chromium.org/2903883003/diff/40001/tools/metrics/histograms/histograms.xml File ...
3 years, 7 months ago (2017-05-26 03:10:11 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/2903883003/60001
3 years, 7 months ago (2017-05-26 03:11:57 UTC) #11
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/393753)
3 years, 7 months ago (2017-05-26 03:34:34 UTC) #13
Mark P
lgtm for the record For future reference, if you touch printer_configuration.h again, can you please ...
3 years, 7 months ago (2017-05-26 04:52:25 UTC) #14
skau
Thanks. I just fixed the comment now.
3 years, 7 months ago (2017-05-26 16:17:23 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/2903883003/80001
3 years, 7 months ago (2017-05-26 16:17:50 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/448788)
3 years, 7 months ago (2017-05-26 16:27:27 UTC) #21
skau
hcarmona@: PTAL?
3 years, 6 months ago (2017-05-30 18:16:24 UTC) #32
skau
michaelpg@: Can you take a look as OWNER?
3 years, 6 months ago (2017-05-31 18:02:00 UTC) #36
Dan Beam
lgtm https://codereview.chromium.org/2903883003/diff/140001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2903883003/diff/140001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode187 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:187: LOG(WARNING) << "Tried to remove non-existant printer"; existent ...
3 years, 6 months ago (2017-05-31 18:06:18 UTC) #38
skau
Thanks for the reviews. https://codereview.chromium.org/2903883003/diff/140001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc File chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc (right): https://codereview.chromium.org/2903883003/diff/140001/chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc#newcode187 chrome/browser/ui/webui/settings/chromeos/cups_printers_handler.cc:187: LOG(WARNING) << "Tried to remove ...
3 years, 6 months ago (2017-05-31 18:34:07 UTC) #39
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/2903883003/160001
3 years, 6 months ago (2017-05-31 18:35:38 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-clang/builds/107688) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 6 months ago (2017-05-31 18:39:12 UTC) #44
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/2903883003/180001
3 years, 6 months ago (2017-05-31 19:00:15 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/468812)
3 years, 6 months ago (2017-05-31 22:04:57 UTC) #49
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/2903883003/180001
3 years, 6 months ago (2017-05-31 23:01:30 UTC) #51
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/2903883003/200001
3 years, 6 months ago (2017-05-31 23:23:14 UTC) #54
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 01:59:49 UTC) #57
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/6d46ea6e7636ecdb53b00795f489...

Powered by Google App Engine
This is Rietveld 408576698