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

Issue 554603002: Fix a browser crash on opening 'chrome://voicesearch' in guest mode. (Closed)

Created:
6 years, 3 months ago by babu
Modified:
6 years, 3 months ago
Reviewers:
rpetterson, Dan Beam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix a browser crash on opening 'chrome://voicesearch' in guest mode. Navigating directly to chrome://voicesearch in guest mode is causing a crash, since the HotwordService is NULL in the guest mode. This patch adds a NULL check on HotwordService to fix the crash. BUG=411784 TEST=With --new-profile-management enabled, try to open chrome://voicesearch in guest mode. Committed: https://crrev.com/ac54bf90d66dcc561e28106428f9b6a8cfa4eb64 Cr-Commit-Position: refs/heads/master@{#294149}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Addressed review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/ui/webui/voicesearch_ui.cc View 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (4 generated)
babu
6 years, 3 months ago (2014-09-08 08:32:46 UTC) #2
babu
6 years, 3 months ago (2014-09-08 13:26:07 UTC) #3
rpetterson
https://codereview.chromium.org/554603002/diff/20001/chrome/browser/search/hotword_service_factory.cc File chrome/browser/search/hotword_service_factory.cc (right): https://codereview.chromium.org/554603002/diff/20001/chrome/browser/search/hotword_service_factory.cc#newcode117 chrome/browser/search/hotword_service_factory.cc:117: return chrome::GetBrowserContextRedirectedInIncognito(context); With this change, this will now return ...
6 years, 3 months ago (2014-09-08 17:35:01 UTC) #4
babu
On 2014/09/08 17:35:01, rpetterson wrote: > https://codereview.chromium.org/554603002/diff/20001/chrome/browser/search/hotword_service_factory.cc > File chrome/browser/search/hotword_service_factory.cc (right): > > https://codereview.chromium.org/554603002/diff/20001/chrome/browser/search/hotword_service_factory.cc#newcode117 > ...
6 years, 3 months ago (2014-09-09 18:43:06 UTC) #5
rpetterson
On 2014/09/09 18:43:06, babu wrote: > On 2014/09/08 17:35:01, rpetterson wrote: > > > https://codereview.chromium.org/554603002/diff/20001/chrome/browser/search/hotword_service_factory.cc ...
6 years, 3 months ago (2014-09-09 19:02:43 UTC) #6
babu
On 2014/09/09 19:02:43, rpetterson wrote: > In the meantime, I think your original patchset (Patch ...
6 years, 3 months ago (2014-09-09 21:04:44 UTC) #7
rpetterson
LGTM from a hotword standpoint. Passing to dbeam for OWNERS approval.
6 years, 3 months ago (2014-09-09 21:06:40 UTC) #8
Dan Beam
lgtm
6 years, 3 months ago (2014-09-09 21:17:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarsana.nagineni@intel.com/554603002/40001
6 years, 3 months ago (2014-09-10 06:35:48 UTC) #11
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-10 08:36:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sudarsana.nagineni@intel.com/554603002/40001
6 years, 3 months ago (2014-09-10 08:38:39 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001) as a58c9758d7226080de4e3a217698c91113a061c3
6 years, 3 months ago (2014-09-10 09:32:35 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 10:56:16 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ac54bf90d66dcc561e28106428f9b6a8cfa4eb64
Cr-Commit-Position: refs/heads/master@{#294149}

Powered by Google App Engine
This is Rietveld 408576698