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

Issue 1008003003: Teach the PlatformNotificationContext how to delete notifications. (Closed)

Created:
5 years, 9 months ago by Peter Beverloo
Modified:
5 years, 9 months ago
Reviewers:
johnme
CC:
chromium-reviews, darin-cc_chromium.org, jam, dewittj, Michael van Ouwerkerk
Base URL:
https://chromium.googlesource.com/chromium/src.git@n-db-PlatformNotificationContext
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Teach the PlatformNotificationContext how to delete notifications. This follows the very same pattern as the read and write methods, but does so for deleting notifications instead. Note that the notification database still isn't hooked up to production code, but is covered by a broad series of unit tests. Design document: http://goo.gl/TciXVp BUG=447628 Committed: https://crrev.com/18fd3fcfe4bf9d695d582c0b55a16039d57023fa Cr-Commit-Position: refs/heads/master@{#320914}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -4 lines) Patch
M content/browser/notifications/platform_notification_context.h View 1 2 3 chunks +20 lines, -4 lines 0 comments Download
M content/browser/notifications/platform_notification_context.cc View 1 1 chunk +30 lines, -0 lines 0 comments Download
M content/browser/notifications/platform_notification_context_unittest.cc View 1 2 chunks +66 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Peter Beverloo
+johnme Easy one to start with :) This CL depends on: https://codereview.chromium.org/1006493005/
5 years, 9 months ago (2015-03-16 12:24:06 UTC) #2
johnme
https://codereview.chromium.org/1008003003/diff/1/content/browser/notifications/platform_notification_context.cc File content/browser/notifications/platform_notification_context.cc (right): https://codereview.chromium.org/1008003003/diff/1/content/browser/notifications/platform_notification_context.cc#newcode137 content/browser/notifications/platform_notification_context.cc:137: const bool success = status == NotificationDatabase::STATUS_OK; It doesn't ...
5 years, 9 months ago (2015-03-16 16:55:18 UTC) #3
Peter Beverloo
Thank you for the review! https://codereview.chromium.org/1008003003/diff/1/content/browser/notifications/platform_notification_context.cc File content/browser/notifications/platform_notification_context.cc (right): https://codereview.chromium.org/1008003003/diff/1/content/browser/notifications/platform_notification_context.cc#newcode137 content/browser/notifications/platform_notification_context.cc:137: const bool success = ...
5 years, 9 months ago (2015-03-16 18:16:51 UTC) #4
johnme
lgtm (with optional nit) - thanks :) https://codereview.chromium.org/1008003003/diff/1/content/browser/notifications/platform_notification_context.h File content/browser/notifications/platform_notification_context.h (right): https://codereview.chromium.org/1008003003/diff/1/content/browser/notifications/platform_notification_context.h#newcode90 content/browser/notifications/platform_notification_context.h:90: // for ...
5 years, 9 months ago (2015-03-16 19:34:46 UTC) #5
Peter Beverloo
Done. Thanks for the review :-).
5 years, 9 months ago (2015-03-17 13:44:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008003003/40001
5 years, 9 months ago (2015-03-17 13:45:17 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-17 15:08:52 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 15:09:17 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/18fd3fcfe4bf9d695d582c0b55a16039d57023fa
Cr-Commit-Position: refs/heads/master@{#320914}

Powered by Google App Engine
This is Rietveld 408576698