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

Issue 2692213005: Reland: MD Settings: Fix the Network Prediction toggle box. (Closed)

Created:
3 years, 10 months ago by tommycli
Modified:
3 years, 10 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: MD Settings: Fix the Network Prediction toggle box. In order to fix this toggle, I had to update the SettingsBooleanControlBehavior to support non 0/1 values for numeric prefs. BUG=664048 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2692213005 Cr-Commit-Position: refs/heads/master@{#450887} Committed: https://chromium.googlesource.com/chromium/src/+/320e0b9c23efe8b8e037054a0e17310d5c1d346d

Patch Set 1 : Original CL that caused stack-overflow #

Patch Set 2 : Merge origin/master #

Patch Set 3 : Fix infinite loop issue #

Total comments: 4

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -36 lines) Patch
M chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js View 1 2 3 5 chunks +23 lines, -14 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_checkbox.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/checkbox_tests.js View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/data/webui/settings/settings_toggle_button_tests.js View 1 2 3 2 chunks +51 lines, -14 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
tommycli
dbeam: PTAL PS1 is original PS2 is a rebase PS3 contains changes that only trigger ...
3 years, 10 months ago (2017-02-15 16:49:20 UTC) #8
Dan Beam
lgtm https://codereview.chromium.org/2692213005/diff/60001/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js File chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js (right): https://codereview.chromium.org/2692213005/diff/60001/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js#newcode64 chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js:64: numericUncheckedValue: { nit: does readOnly: true, work here? ...
3 years, 10 months ago (2017-02-15 23:25:53 UTC) #9
tommycli
thanks! submitting https://codereview.chromium.org/2692213005/diff/60001/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js File chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js (right): https://codereview.chromium.org/2692213005/diff/60001/chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js#newcode64 chrome/browser/resources/settings/controls/settings_boolean_control_behavior.js:64: numericUncheckedValue: { On 2017/02/15 23:25:53, Dan Beam ...
3 years, 10 months ago (2017-02-15 23:36:52 UTC) #10
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/2692213005/80001
3 years, 10 months ago (2017-02-15 23:38:02 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) closure_compilation on ...
3 years, 10 months ago (2017-02-16 01:42:06 UTC) #15
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/2692213005/80001
3 years, 10 months ago (2017-02-16 02:08:18 UTC) #17
commit-bot: I haz the power
Exceeded global retry quota
3 years, 10 months ago (2017-02-16 04:10:48 UTC) #19
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/2692213005/80001
3 years, 10 months ago (2017-02-16 04:31:56 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 07:25:34 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/320e0b9c23efe8b8e037054a0e17...

Powered by Google App Engine
This is Rietveld 408576698