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

Issue 8844003: Send notifications to off-the-record profile about error bubble being added/removed. (Closed)

Created:
9 years ago by whywhat
Modified:
9 years ago
Reviewers:
sail
CC:
chromium-reviews, Ivan Korotkov
Visibility:
Public.

Description

Send notifications to off-the-record profile about error bubble being added/removed. R=sail@chromium.org BUG=106466 TEST=Modify Web Data file to trigger Protector bubble, launch Chrome, open Incognito window, wait for 10 minutes or dismiss the bubble with any button, verify that wrench menu button doesn't have Protector badge anymore. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113780

Patch Set 1 #

Patch Set 2 : Showing Protector bubble for Incognito windows #

Total comments: 3

Patch Set 3 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M chrome/browser/protector/settings_change_global_error.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/global_error_service.cc View 1 2 2 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
whywhat
9 years ago (2011-12-07 15:54:32 UTC) #1
sail
What do you think of changing Global Errors so that they don't show on incognito ...
9 years ago (2011-12-07 16:18:29 UTC) #2
whywhat
On 2011/12/07 16:18:29, sail wrote: > What do you think of changing Global Errors so ...
9 years ago (2011-12-08 10:22:35 UTC) #3
sail
On 2011/12/08 10:22:35, whywhat wrote: > On 2011/12/07 16:18:29, sail wrote: > > What do ...
9 years ago (2011-12-08 17:43:26 UTC) #4
sail
lgtm http://codereview.chromium.org/8844003/diff/4001/chrome/browser/ui/global_error_service.cc File chrome/browser/ui/global_error_service.cc (right): http://codereview.chromium.org/8844003/diff/4001/chrome/browser/ui/global_error_service.cc#newcode64 chrome/browser/ui/global_error_service.cc:64: std::vector<Profile*> profiles_to_notify; can you add a DCHECK() for ...
9 years ago (2011-12-08 17:44:45 UTC) #5
whywhat
http://codereview.chromium.org/8844003/diff/4001/chrome/browser/ui/global_error_service.cc File chrome/browser/ui/global_error_service.cc (right): http://codereview.chromium.org/8844003/diff/4001/chrome/browser/ui/global_error_service.cc#newcode64 chrome/browser/ui/global_error_service.cc:64: std::vector<Profile*> profiles_to_notify; I've added comment. How can I check ...
9 years ago (2011-12-09 11:14:33 UTC) #6
sail
9 years ago (2011-12-09 17:43:51 UTC) #7
lgtm

http://codereview.chromium.org/8844003/diff/4001/chrome/browser/ui/global_err...
File chrome/browser/ui/global_error_service.cc (right):

http://codereview.chromium.org/8844003/diff/4001/chrome/browser/ui/global_err...
chrome/browser/ui/global_error_service.cc:64: std::vector<Profile*>
profiles_to_notify;
On 2011/12/09 11:14:33, whywhat wrote:
> I've added comment. How can I check ServiceRedirectedInIncognito here if it's
> private in the factory class?
> 
> On 2011/12/08 17:44:45, sail wrote:
> > can you add a DCHECK() for ServiceRedirectedInIncognito().
> > 
> > Also can you add a comment that you need to broadcast 2 set of notifications
> so
> > that both normal windows and incognito windows get updated.
> 

Ahh damn, never mind.

Powered by Google App Engine
This is Rietveld 408576698