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

Issue 2557033002: Remove ContextLifecycleObserver from NotificationManager (Closed)

Created:
4 years ago by haraken
Modified:
4 years ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, blink-reviews, haraken, Peter Beverloo, awdf+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ContextLifecycleObserver from NotificationManager Currently NotificationManager::contextDestroyed is resetting service's pointers but it looks unnecessary. This CL removes the code and stop inheriting from ContextLifecycleObserver. BUG=610176 Committed: https://crrev.com/abb83eaffd249c61928d3f1207054c24f5d0b56d Cr-Commit-Position: refs/heads/master@{#437022}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -22 lines) Patch
M third_party/WebKit/Source/modules/notifications/Notification.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationManager.h View 3 chunks +2 lines, -7 lines 2 comments Download
M third_party/WebKit/Source/modules/notifications/NotificationManager.cpp View 4 chunks +5 lines, -12 lines 1 comment Download
M third_party/WebKit/Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
haraken
PTAL https://codereview.chromium.org/2557033002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationManager.cpp File third_party/WebKit/Source/modules/notifications/NotificationManager.cpp (left): https://codereview.chromium.org/2557033002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationManager.cpp#oldcode92 third_party/WebKit/Source/modules/notifications/NotificationManager.cpp:92: m_permissionService.reset(); As far as I understand, there is ...
4 years ago (2016-12-07 06:56:07 UTC) #2
Peter Beverloo
lgtm https://codereview.chromium.org/2557033002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationManager.h File third_party/WebKit/Source/modules/notifications/NotificationManager.h (right): https://codereview.chromium.org/2557033002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationManager.h#newcode39 third_party/WebKit/Source/modules/notifications/NotificationManager.h:39: mojom::blink::PermissionStatus permissionStatus(ExecutionContext*); For future reference - All potential ...
4 years ago (2016-12-07 13:25:37 UTC) #3
haraken
https://codereview.chromium.org/2557033002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationManager.h File third_party/WebKit/Source/modules/notifications/NotificationManager.h (right): https://codereview.chromium.org/2557033002/diff/1/third_party/WebKit/Source/modules/notifications/NotificationManager.h#newcode39 third_party/WebKit/Source/modules/notifications/NotificationManager.h:39: mojom::blink::PermissionStatus permissionStatus(ExecutionContext*); On 2016/12/07 13:25:36, Peter Beverloo wrote: > ...
4 years ago (2016-12-07 15:27:13 UTC) #4
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/2557033002/1
4 years ago (2016-12-07 15:27:43 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/349661)
4 years ago (2016-12-07 17:40:17 UTC) #8
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/2557033002/1
4 years ago (2016-12-07 17:42:58 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-07 19:01:35 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-07 19:03:55 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/abb83eaffd249c61928d3f1207054c24f5d0b56d
Cr-Commit-Position: refs/heads/master@{#437022}

Powered by Google App Engine
This is Rietveld 408576698