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

Issue 19699014: Crash on message center settings change fixed (Closed)

Created:
7 years, 5 months ago by sidharthms
Modified:
7 years, 5 months ago
Reviewers:
dewittj
CC:
chromium-reviews, Pete Williamson
Visibility:
Public.

Description

Crash on message center settings change fixed The default profile was being used to set which applications can show notifications. This has been changed to use the last used profile allowed by policy. In case the profile happens to be deleted after the message center settings controller is created, we just fail silently. Since full-fledged multi-profile support will be rolling out in the near future, this is a temporary fix to prevent chrome from crashing. BUG=263193 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213326

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -13 lines) Patch
M chrome/browser/notifications/message_center_settings_controller.h View 4 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.cc View 1 2 3 4 12 chunks +33 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sidharthms
7 years, 5 months ago (2013-07-22 22:49:31 UTC) #1
dewittj
https://codereview.chromium.org/19699014/diff/2001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/19699014/diff/2001/chrome/browser/notifications/message_center_settings_controller.cc#newcode90 chrome/browser/notifications/message_center_settings_controller.cc:90: if (!profile_) Can we call GetLastUsedProfileAllowedByPolicy here instead of ...
7 years, 5 months ago (2013-07-22 23:03:12 UTC) #2
sidharthms
https://codereview.chromium.org/19699014/diff/2001/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/19699014/diff/2001/chrome/browser/notifications/message_center_settings_controller.cc#newcode90 chrome/browser/notifications/message_center_settings_controller.cc:90: if (!profile_) On 2013/07/22 23:03:12, dewittj wrote: > Can ...
7 years, 5 months ago (2013-07-23 00:50:07 UTC) #3
dewittj
https://codereview.chromium.org/19699014/diff/13002/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/19699014/diff/13002/chrome/browser/notifications/message_center_settings_controller.cc#newcode69 chrome/browser/notifications/message_center_settings_controller.cc:69: content::Source<Profile>(profile_)); this now listens for profile destroyed (NULL). Need ...
7 years, 5 months ago (2013-07-23 01:04:03 UTC) #4
sidharthms
https://codereview.chromium.org/19699014/diff/13002/chrome/browser/notifications/message_center_settings_controller.cc File chrome/browser/notifications/message_center_settings_controller.cc (right): https://codereview.chromium.org/19699014/diff/13002/chrome/browser/notifications/message_center_settings_controller.cc#newcode69 chrome/browser/notifications/message_center_settings_controller.cc:69: content::Source<Profile>(profile_)); On 2013/07/23 01:04:03, dewittj wrote: > this now ...
7 years, 5 months ago (2013-07-23 01:29:25 UTC) #5
dewittj
lgtm
7 years, 5 months ago (2013-07-23 01:35:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sidharthms@chromium.org/19699014/18001
7 years, 5 months ago (2013-07-23 05:54:16 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=151646
7 years, 5 months ago (2013-07-23 07:07:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sidharthms@chromium.org/19699014/18001
7 years, 5 months ago (2013-07-24 01:40:46 UTC) #9
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 02:53:41 UTC) #10
Message was sent while issue was closed.
Change committed as 213326

Powered by Google App Engine
This is Rietveld 408576698