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

Issue 2419213003: Ensure the xpc transaction is ended (Closed)

Created:
4 years, 2 months ago by Miguel Garcia
Modified:
4 years, 1 month ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, Peter Beverloo
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure the xpc transaction is ended This is a best effort activity since there are situations where we cannot detect that a given alert has been closed. This will however ensure that 1) only one transaction at most is kept opened 2) whenever an alert is detected to be closed end the transaction if no other alerts are displayed. BUG=652237 Committed: https://crrev.com/d624e939a8d3cf2ae751980c5178ff087a7aefba Cr-Commit-Position: refs/heads/master@{#428397}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Total comments: 12

Patch Set 3 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -9 lines) Patch
M chrome/browser/ui/cocoa/notifications/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/alert_notification_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/alert_notification_service.mm View 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/notification_service_delegate.mm View 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/notifications/xpc_service_main.mm View 1 chunk +0 lines, -5 lines 0 comments Download
A chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.h View 1 chunk +20 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm View 1 2 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
Miguel Garcia
4 years, 2 months ago (2016-10-15 09:44:59 UTC) #3
Miguel Garcia
Friendly ping on this one.
4 years, 2 months ago (2016-10-20 10:01:16 UTC) #4
Robert Sesek
I'm not sure this is going to work correctly in all cases. XPC tries to ...
4 years, 1 month ago (2016-10-24 23:11:05 UTC) #5
Robert Sesek
On 2016/10/24 23:11:05, Robert Sesek wrote: > I'm not sure this is going to work ...
4 years, 1 month ago (2016-10-25 20:15:05 UTC) #6
Miguel Garcia
PTAL https://codereview.chromium.org/2419213003/diff/1/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm File chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm (right): https://codereview.chromium.org/2419213003/diff/1/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm#newcode12 chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm:12: Boolean transactionOpen; On 2016/10/24 23:11:05, Robert Sesek wrote: ...
4 years, 1 month ago (2016-10-26 15:56:39 UTC) #7
Robert Sesek
Just some nits. https://codereview.chromium.org/2419213003/diff/20001/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm File chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm (right): https://codereview.chromium.org/2419213003/diff/20001/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm#newcode3 chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm:3: // found in the LICENSE file. ...
4 years, 1 month ago (2016-10-26 18:49:41 UTC) #8
Miguel Garcia
https://codereview.chromium.org/2419213003/diff/20001/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm File chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm (right): https://codereview.chromium.org/2419213003/diff/20001/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm#newcode3 chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm:3: // found in the LICENSE file. On 2016/10/26 18:49:41, ...
4 years, 1 month ago (2016-10-28 14:53:57 UTC) #10
Robert Sesek
LGTM
4 years, 1 month ago (2016-10-28 16:28:06 UTC) #14
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/2419213003/40001
4 years, 1 month ago (2016-10-28 16:35:24 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-28 17:04:13 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 17:21:58 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d624e939a8d3cf2ae751980c5178ff087a7aefba
Cr-Commit-Position: refs/heads/master@{#428397}

Powered by Google App Engine
This is Rietveld 408576698