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

Issue 8588013: Fix crash in SyncSetupWizard::IsVisible() (Closed)

Created:
9 years, 1 month ago by binji
Modified:
9 years ago
Reviewers:
James Hawkins, sail, sky
CC:
chromium-reviews
Visibility:
Public.

Description

Fix crash in SyncSetupWizard::IsVisible() BUG=103029 TEST=Open an incognito window. Close all other windows. Navigate to chrome://syncpromo. Should not crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112061

Patch Set 1 #

Total comments: 12

Patch Set 2 : Review comments #

Patch Set 3 : Add browser test #

Total comments: 2

Patch Set 4 : merge + nit #

Patch Set 5 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -117 lines) Patch
M chrome/browser/extensions/extension_tabs_module.cc View 1 2 3 4 1 chunk +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/browser_navigator.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 2 chunks +32 lines, -26 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest.cc View 1 2 4 chunks +65 lines, -80 lines 0 comments Download
M chrome/browser/ui/webui/sync_setup_handler.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
binji
sky: browser_navigator sail: sync_promo Navigating to chrome://syncpromo in an incognito window will now open in ...
9 years, 1 month ago (2011-11-17 01:23:51 UTC) #1
sail
Not sure about the sync setup code. Maybe atwilson or jhawkins might be better?
9 years, 1 month ago (2011-11-17 01:30:31 UTC) #2
binji
On 2011/11/17 01:30:31, sail wrote: > Not sure about the sync setup code. Maybe atwilson ...
9 years, 1 month ago (2011-11-17 01:42:31 UTC) #3
sail
> sail, do you have an opinion on showing chrome://syncpromo in a non-incognito > window? ...
9 years, 1 month ago (2011-11-17 01:43:42 UTC) #4
James Hawkins
http://codereview.chromium.org/8588013/diff/1/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/8588013/diff/1/chrome/browser/ui/browser_navigator.cc#newcode75 chrome/browser/ui/browser_navigator.cc:75: // in a normal (not incognito) window. Guest session ...
9 years, 1 month ago (2011-11-17 02:23:52 UTC) #5
sky
browser_navigator LGTM
9 years, 1 month ago (2011-11-17 04:56:17 UTC) #6
sky
One additional comment. How about adding a test for coverage of some of this?
9 years, 1 month ago (2011-11-17 04:56:35 UTC) #7
binji
http://codereview.chromium.org/8588013/diff/1/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/8588013/diff/1/chrome/browser/ui/browser_navigator.cc#newcode75 chrome/browser/ui/browser_navigator.cc:75: // in a normal (not incognito) window. Guest session ...
9 years, 1 month ago (2011-11-17 21:02:08 UTC) #8
binji
James, any further comments?
9 years, 1 month ago (2011-11-22 00:54:49 UTC) #9
James Hawkins
LGTM with nit. http://codereview.chromium.org/8588013/diff/5/chrome/browser/ui/browser_navigator.cc File chrome/browser/ui/browser_navigator.cc (right): http://codereview.chromium.org/8588013/diff/5/chrome/browser/ui/browser_navigator.cc#newcode82 chrome/browser/ui/browser_navigator.cc:82: Profile::IsGuestSession()) Multi-line logic requires braces on ...
9 years, 1 month ago (2011-11-22 00:59:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binji@chromium.org/8588013/12001
9 years ago (2011-11-28 21:41:40 UTC) #11
commit-bot: I haz the power
Try job failure for 8588013-12001 (retry) on win_rel for step "interactive_ui_tests" (clobber build). It's a ...
9 years ago (2011-11-28 23:14:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binji@chromium.org/8588013/12001
9 years ago (2011-11-29 21:37:15 UTC) #13
commit-bot: I haz the power
9 years ago (2011-11-29 23:17:21 UTC) #14
Change committed as 112061

Powered by Google App Engine
This is Rietveld 408576698