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

Issue 2751873002: chromeos: Avoid NOTREACHED for MD settings power page. (Closed)

Created:
3 years, 9 months ago by Daniel Erat
Modified:
3 years, 9 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Avoid NOTREACHED for MD settings power page. Avoid hitting a NOTREACHED() when searching for "power" or "device" at chrome://md-settings when power settings are disabled. BUG=633484 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2751873002 Cr-Commit-Position: refs/heads/master@{#456966} Committed: https://chromium.googlesource.com/chromium/src/+/382a85f9de9bff0c3ec98dc2ba37d665f5848e70

Patch Set 1 #

Total comments: 3

Patch Set 2 : move no-search$ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/resources/settings/device_page/device_page.html View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
Daniel Erat
3 years, 9 months ago (2017-03-15 00:14:49 UTC) #3
Dan Beam
you could also potentially slap a no-search higher up our search is only guaranteed to ...
3 years, 9 months ago (2017-03-15 00:30:58 UTC) #6
Daniel Erat
https://codereview.chromium.org/2751873002/diff/1/chrome/browser/resources/settings/device_page/power.js File chrome/browser/resources/settings/device_page/power.js (right): https://codereview.chromium.org/2751873002/diff/1/chrome/browser/resources/settings/device_page/power.js#newcode79 chrome/browser/resources/settings/device_page/power.js:79: settings.DevicePageBrowserProxyImpl.getInstance().updatePowerStatus(); On 2017/03/15 00:30:58, Dan Beam wrote: > i ...
3 years, 9 months ago (2017-03-15 00:33:44 UTC) #7
stevenjb
This is just a temporary workaround so I have no preference how we solve this; ...
3 years, 9 months ago (2017-03-15 01:09:24 UTC) #8
michaelpg
On 2017/03/15 00:30:58, Dan Beam wrote: > you could also potentially slap a no-search higher ...
3 years, 9 months ago (2017-03-15 01:13:19 UTC) #9
Daniel Erat
On 2017/03/15 01:13:19, michaelpg wrote: > On 2017/03/15 00:30:58, Dan Beam wrote: > > you ...
3 years, 9 months ago (2017-03-15 01:18:39 UTC) #10
stevenjb
Aha! Cheers. LGTM
3 years, 9 months ago (2017-03-15 01:22:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2751873002/20001
3 years, 9 months ago (2017-03-15 01:26:21 UTC) #17
michaelpg
lgtm2
3 years, 9 months ago (2017-03-15 01:33:50 UTC) #18
michaelpg
On 2017/03/15 01:33:50, michaelpg wrote: > lgtm2 lgtm 2
3 years, 9 months ago (2017-03-15 01:34:07 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/382a85f9de9bff0c3ec98dc2ba37d665f5848e70
3 years, 9 months ago (2017-03-15 02:48:04 UTC) #22
Dan Beam
3 years, 9 months ago (2017-03-16 01:18:19 UTC) #23
Message was sent while issue was closed.
lgtm, thanks for fixing!

Powered by Google App Engine
This is Rietveld 408576698