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

Issue 9737001: Fix crash in AppNotifyChannelSetup when incognito profiles are used. (Closed)

Created:
8 years, 9 months ago by jstritar
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

Fix crash in AppNotifyChannelSetup when incognito profiles are used. BUG=118258 TEST=see bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128560

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : forgot a file #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : feedback + test failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -73 lines) Patch
M chrome/browser/chromeos/extensions/external_filesystem_apitest.cc View 1 2 3 4 5 4 chunks +13 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/app/app_api.cc View 1 2 3 4 5 3 chunks +11 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/app/app_apitest.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_apitest.h View 1 2 3 4 5 3 chunks +24 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extension_apitest.cc View 1 3 chunks +10 lines, -29 lines 0 comments Download
M chrome/browser/extensions/extension_tab_helper.cc View 1 2 3 4 5 3 chunks +23 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_tabs_apitest.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_webnavigation_apitest.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/app_notifications/launch.html View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/app_notifications/manifest.json View 1 1 chunk +12 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/app_notifications/test.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/app_notifications/test.js View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jstritar
8 years, 9 months ago (2012-03-21 00:35:14 UTC) #1
Mihai Parparita -not on Chrome
http://codereview.chromium.org/9737001/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc File chrome/browser/extensions/app_notify_channel_setup.cc (right): http://codereview.chromium.org/9737001/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc#newcode80 chrome/browser/extensions/app_notify_channel_setup.cc:80: : profile_(profile->GetOriginalProfile()), As discussed, this is fine for incognito ...
8 years, 9 months ago (2012-03-21 00:48:47 UTC) #2
jstritar
http://codereview.chromium.org/9737001/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc File chrome/browser/extensions/app_notify_channel_setup.cc (right): http://codereview.chromium.org/9737001/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc#newcode80 chrome/browser/extensions/app_notify_channel_setup.cc:80: : profile_(profile->GetOriginalProfile()), On 2012/03/21 00:48:48, Mihai Parparita wrote: > ...
8 years, 9 months ago (2012-03-22 18:58:00 UTC) #3
Mihai Parparita -not on Chrome
Antony should take a look at this too, since he knows the app notifications API ...
8 years, 9 months ago (2012-03-22 19:44:20 UTC) #4
jstritar
http://codereview.chromium.org/9737001/diff/8001/chrome/browser/extensions/api/app/app_api.cc File chrome/browser/extensions/api/app/app_api.cc (right): http://codereview.chromium.org/9737001/diff/8001/chrome/browser/extensions/api/app/app_api.cc#newcode31 chrome/browser/extensions/api/app/app_api.cc:31: if (!include_incognito() && profile_->IsOffTheRecord()) { Oh yeah, done. Do ...
8 years, 9 months ago (2012-03-22 20:21:10 UTC) #5
asargent_no_longer_on_chrome
LGTM http://codereview.chromium.org/9737001/diff/8001/chrome/browser/extensions/api/app/app_api.cc File chrome/browser/extensions/api/app/app_api.cc (right): http://codereview.chromium.org/9737001/diff/8001/chrome/browser/extensions/api/app/app_api.cc#newcode31 chrome/browser/extensions/api/app/app_api.cc:31: if (!include_incognito() && profile_->IsOffTheRecord()) { On 2012/03/22 20:21:10, ...
8 years, 9 months ago (2012-03-22 20:58:10 UTC) #6
jstritar
http://codereview.chromium.org/9737001/diff/8001/chrome/browser/extensions/api/app/app_api.cc File chrome/browser/extensions/api/app/app_api.cc (right): http://codereview.chromium.org/9737001/diff/8001/chrome/browser/extensions/api/app/app_api.cc#newcode31 chrome/browser/extensions/api/app/app_api.cc:31: if (!include_incognito() && profile_->IsOffTheRecord()) { On 2012/03/22 20:58:11, Antony ...
8 years, 9 months ago (2012-03-23 15:31:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/9737001/6017
8 years, 9 months ago (2012-03-23 16:07:05 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-23 19:55:31 UTC) #9
Change committed as 128560

Powered by Google App Engine
This is Rietveld 408576698