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

Issue 1010833002: Expose bits of the Web Notification database in the //content API. (Closed)

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

Description

Expose bits of the Web Notification database in the //content API. This CL moves the PlatformNotificationContext and the NotificationDatabaseData classes into the //content API. Serialization behavior for NotificationDatabaseData will remain content-private. The primary users of this will be (1) clearing browser data, (2) UA- triggered notification closures and (3) forced push notifications. Design document: http://goo.gl/TciXVp BUG=447628 Committed: https://crrev.com/7b79a196374a82ecdf9204df4a4e3218fb1fd4f2 Cr-Commit-Position: refs/heads/master@{#320993}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : minor fixes #

Patch Set 4 : update a comment #

Total comments: 20

Patch Set 5 : address comments #

Patch Set 6 : add NON_EXPORTED_BASE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -572 lines) Patch
M content/browser/notifications/notification_database.cc View 1 3 chunks +6 lines, -3 lines 0 comments Download
D content/browser/notifications/notification_database_data.h View 1 chunk +0 lines, -45 lines 0 comments Download
D content/browser/notifications/notification_database_data.cc View 1 chunk +0 lines, -74 lines 0 comments Download
A content/browser/notifications/notification_database_data_conversions.h View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A + content/browser/notifications/notification_database_data_conversions.cc View 2 chunks +25 lines, -22 lines 0 comments Download
M content/browser/notifications/notification_database_data_unittest.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/notifications/notification_database_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D content/browser/notifications/platform_notification_context.h View 1 2 3 4 1 chunk +0 lines, -127 lines 0 comments Download
D content/browser/notifications/platform_notification_context.cc View 1 1 chunk +0 lines, -206 lines 0 comments Download
A + content/browser/notifications/platform_notification_context_impl.h View 1 2 3 4 5 3 chunks +16 lines, -38 lines 0 comments Download
A + content/browser/notifications/platform_notification_context_impl.cc View 1 8 chunks +18 lines, -18 lines 0 comments Download
M content/browser/notifications/platform_notification_context_unittest.cc View 1 6 chunks +12 lines, -13 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download
A + content/public/browser/notification_database_data.h View 1 2 3 4 3 chunks +6 lines, -17 lines 0 comments Download
A content/public/browser/platform_notification_context.h View 1 2 3 4 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Peter Beverloo
+johnme for NotificationDatabaseData static members -> NotificationDatabaseDataConversions. We don't want to export those in the ...
5 years, 9 months ago (2015-03-16 18:45:46 UTC) #2
Avi (use Gerrit)
lgtm https://codereview.chromium.org/1010833002/diff/60001/content/public/browser/notification_database_data.h File content/public/browser/notification_database_data.h (right): https://codereview.chromium.org/1010833002/diff/60001/content/public/browser/notification_database_data.h#newcode19 content/public/browser/notification_database_data.h:19: struct CONTENT_EXPORT NotificationDatabaseData { On 2015/03/16 18:45:46, Peter ...
5 years, 9 months ago (2015-03-16 22:29:50 UTC) #3
johnme
lgtm with nits https://codereview.chromium.org/1010833002/diff/60001/content/browser/notifications/notification_database_data_conversions.h File content/browser/notifications/notification_database_data_conversions.h (right): https://codereview.chromium.org/1010833002/diff/60001/content/browser/notifications/notification_database_data_conversions.h#newcode7 content/browser/notifications/notification_database_data_conversions.h:7: Unused https://codereview.chromium.org/1010833002/diff/60001/content/browser/notifications/notification_database_data_conversions.h#newcode18 content/browser/notifications/notification_database_data_conversions.h:18: // Returns if ...
5 years, 9 months ago (2015-03-17 12:28:27 UTC) #4
Peter Beverloo
Thanks for the reviews! https://codereview.chromium.org/1010833002/diff/60001/content/browser/notifications/notification_database_data_conversions.h File content/browser/notifications/notification_database_data_conversions.h (right): https://codereview.chromium.org/1010833002/diff/60001/content/browser/notifications/notification_database_data_conversions.h#newcode7 content/browser/notifications/notification_database_data_conversions.h:7: On 2015/03/17 12:28:26, johnme wrote: ...
5 years, 9 months ago (2015-03-17 13:55:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010833002/80001
5 years, 9 months ago (2015-03-17 16:14:57 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/20418)
5 years, 9 months ago (2015-03-17 20:04:49 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010833002/100001
5 years, 9 months ago (2015-03-17 21:01:02 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-03-17 22:14:16 UTC) #14
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 22:15:10 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7b79a196374a82ecdf9204df4a4e3218fb1fd4f2
Cr-Commit-Position: refs/heads/master@{#320993}

Powered by Google App Engine
This is Rietveld 408576698