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

Issue 1116693002: [NOT FOR REVIEW] Significantly simplify the PlatformNotificationService //content API. (Closed)

Created:
5 years, 7 months ago by Peter Beverloo
Modified:
4 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, mlamouri+watch-notifications_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-shell_chromium.org, peter+watch_chromium.org, jochen+watch_chromium.org, dewittj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Significantly simplify the PlatformNotificationService //content API. BUG=

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+666 lines, -227 lines) Patch
M content/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_id_generator.h View 1 chunk +60 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_id_generator.cc View 1 chunk +71 lines, -0 lines 0 comments Download
A content/browser/notifications/notification_id_generator_unittest.cc View 1 chunk +259 lines, -0 lines 0 comments Download
M content/browser/notifications/notification_message_filter.h View 4 chunks +7 lines, -3 lines 0 comments Download
M content/browser/notifications/notification_message_filter.cc View 9 chunks +98 lines, -41 lines 0 comments Download
M content/browser/notifications/page_notification_delegate.h View 1 chunk +10 lines, -7 lines 0 comments Download
M content/browser/notifications/page_notification_delegate.cc View 3 chunks +7 lines, -3 lines 0 comments Download
A content/browser/notifications/persistent_notification_delegate.h View 1 chunk +42 lines, -0 lines 0 comments Download
A content/browser/notifications/persistent_notification_delegate.cc View 1 chunk +51 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 2 chunks +5 lines, -0 lines 0 comments Download
M content/content_shell.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/platform_notification_service.h View 2 chunks +13 lines, -31 lines 1 comment Download
M content/shell/browser/layout_test/layout_test_notification_manager.h View 2 chunks +8 lines, -39 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_notification_manager.cc View 3 chunks +31 lines, -103 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Peter Beverloo
Hey all - **This is not for review**. I have some specific questions about the ...
5 years, 7 months ago (2015-04-29 14:50:09 UTC) #2
Avi (use Gerrit)
On 2015/04/29 14:50:09, Peter Beverloo wrote: > - Avi: Are the DEPS additions OK from ...
5 years, 7 months ago (2015-04-29 15:24:39 UTC) #3
Peter Beverloo
On 2015/04/29 15:24:39, Avi wrote: > On 2015/04/29 14:50:09, Peter Beverloo wrote: > > - ...
5 years, 7 months ago (2015-04-29 15:50:00 UTC) #4
Avi (use Gerrit)
On 2015/04/29 15:50:00, Peter Beverloo wrote: > This is where my mental model of layering ...
5 years, 7 months ago (2015-04-29 16:07:37 UTC) #5
Peter Beverloo
On 2015/04/29 16:07:37, Avi wrote: > On 2015/04/29 15:50:00, Peter Beverloo wrote: > > This ...
5 years, 7 months ago (2015-04-29 16:15:13 UTC) #6
Avi (use Gerrit)
On 2015/04/29 16:15:13, Peter Beverloo wrote: > On 2015/04/29 16:07:37, Avi wrote: > > On ...
5 years, 7 months ago (2015-04-29 16:30:59 UTC) #7
dewittj
5 years, 7 months ago (2015-05-02 18:43:29 UTC) #8
https://codereview.chromium.org/1116693002/diff/1/content/public/browser/plat...
File content/public/browser/platform_notification_service.h (right):

https://codereview.chromium.org/1116693002/diff/1/content/public/browser/plat...
content/public/browser/platform_notification_service.h:47: // Displays the
|notification| to the user. This method must be called on the
I like the simplification.  If layering is an issue we can always use another
struct besides m_c::Notification and teach notifications how to use them.

Powered by Google App Engine
This is Rietveld 408576698