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

Issue 2446043002: Close privet printer notifications when clicked. (Closed)

Created:
4 years, 1 month ago by Lei Zhang
Modified:
4 years, 1 month ago
Reviewers:
yoshiki, dewittj
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Close privet printer notifications when clicked. BUG=643268 Committed: https://crrev.com/84a0c256d7371bf0bd495f6d3ac3d0157e61fa44 Cr-Commit-Position: refs/heads/master@{#427720}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add test, fix potential UAF #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -22 lines) Patch
M chrome/browser/printing/cloud_print/privet_notifications.h View 1 4 chunks +15 lines, -5 lines 0 comments Download
M chrome/browser/printing/cloud_print/privet_notifications.cc View 1 4 chunks +21 lines, -15 lines 4 comments Download
M chrome/browser/printing/cloud_print/privet_notifications_unittest.cc View 1 3 chunks +136 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Lei Zhang
yoshiki: Since you are in chrome/browser/notifications/OWNERS and ui/message_center/OWNERS, I believe you are familiar with the ...
4 years, 1 month ago (2016-10-25 04:52:28 UTC) #6
Lei Zhang
On 2016/10/25 04:52:28, Lei Zhang wrote: > yoshiki: Since you are in chrome/browser/notifications/OWNERS and > ...
4 years, 1 month ago (2016-10-25 18:34:42 UTC) #9
dewittj
https://codereview.chromium.org/2446043002/diff/1/chrome/browser/printing/cloud_print/privet_notifications.cc File chrome/browser/printing/cloud_print/privet_notifications.cc (right): https://codereview.chromium.org/2446043002/diff/1/chrome/browser/printing/cloud_print/privet_notifications.cc#newcode258 chrome/browser/printing/cloud_print/privet_notifications.cc:258: Profile* profile = Profile::FromBrowserContext(profile_); if you are storing |profile_| ...
4 years, 1 month ago (2016-10-25 20:08:30 UTC) #10
Lei Zhang
Please note I did not write the code originally, so some things are a bit ...
4 years, 1 month ago (2016-10-25 22:22:53 UTC) #11
dewittj
https://codereview.chromium.org/2446043002/diff/1/chrome/browser/printing/cloud_print/privet_notifications.cc File chrome/browser/printing/cloud_print/privet_notifications.cc (right): https://codereview.chromium.org/2446043002/diff/1/chrome/browser/printing/cloud_print/privet_notifications.cc#newcode258 chrome/browser/printing/cloud_print/privet_notifications.cc:258: Profile* profile = Profile::FromBrowserContext(profile_); On 2016/10/25 22:22:52, Lei Zhang ...
4 years, 1 month ago (2016-10-25 23:35:56 UTC) #12
Lei Zhang
PTAL at patch set 2. https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc File chrome/browser/printing/cloud_print/privet_notifications.cc (right): https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc#newcode376 chrome/browser/printing/cloud_print/privet_notifications.cc:376: CloseNotification(); If I move ...
4 years, 1 month ago (2016-10-26 00:22:09 UTC) #13
dewittj
lgtm, thanks! https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc File chrome/browser/printing/cloud_print/privet_notifications.cc (right): https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc#newcode376 chrome/browser/printing/cloud_print/privet_notifications.cc:376: CloseNotification(); On 2016/10/26 00:22:09, Lei Zhang wrote: ...
4 years, 1 month ago (2016-10-26 16:04:26 UTC) #18
yoshiki
lgtm with nit https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc File chrome/browser/printing/cloud_print/privet_notifications.cc (right): https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc#newcode258 chrome/browser/printing/cloud_print/privet_notifications.cc:258: Profile* profile = Profile::FromBrowserContext(profile_); I think ...
4 years, 1 month ago (2016-10-26 16:24:05 UTC) #19
Lei Zhang
https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc File chrome/browser/printing/cloud_print/privet_notifications.cc (right): https://codereview.chromium.org/2446043002/diff/20001/chrome/browser/printing/cloud_print/privet_notifications.cc#newcode258 chrome/browser/printing/cloud_print/privet_notifications.cc:258: Profile* profile = Profile::FromBrowserContext(profile_); On 2016/10/26 16:24:05, yoshiki wrote: ...
4 years, 1 month ago (2016-10-26 16:52:41 UTC) #20
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/2446043002/20001
4 years, 1 month ago (2016-10-26 16:53:19 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-26 16:59:47 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 17:12:50 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/84a0c256d7371bf0bd495f6d3ac3d0157e61fa44
Cr-Commit-Position: refs/heads/master@{#427720}

Powered by Google App Engine
This is Rietveld 408576698