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

Issue 2088473002: Fix Material Settings Help and Settings redirect (Closed)

Created:
4 years, 6 months ago by michaelpg
Modified:
4 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@SettingsCrash
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix Material Settings Help and Settings redirect "About in Settings" shouldn't affect loading of MD Settings or prevent Help from loading at all. On Chrome OS, chrome://settings wasn't redirecting; on other platforms, chrome://help wasn't loading. BUG=621390, 621344 Committed: https://crrev.com/8e75cccd2ff5224bdd82662d47af49a26e247d39 Cr-Commit-Position: refs/heads/master@{#401092}

Patch Set 1 #

Patch Set 2 : git cl format #

Patch Set 3 : fix dependency #

Patch Set 4 : tests, allow chrome://help #

Patch Set 5 : formatting #

Total comments: 13

Patch Set 6 : feedback #

Patch Set 7 : git cl format #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -57 lines) Patch
M chrome/browser/browser_about_handler.cc View 1 2 3 1 chunk +8 lines, -8 lines 0 comments Download
M chrome/browser/browser_about_handler_unittest.cc View 1 2 3 4 5 6 2 chunks +94 lines, -47 lines 1 comment Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
michaelpg
4 years, 6 months ago (2016-06-20 20:31:53 UTC) #1
Dan Beam
<3 tests
4 years, 6 months ago (2016-06-20 21:05:28 UTC) #3
michaelpg
On 2016/06/20 21:05:28, Dan Beam wrote: > <3 tests hmm, in browser_about_handler_unittest.cc? or md_settings_ui_browsertest.cc?
4 years, 6 months ago (2016-06-20 21:34:46 UTC) #4
Dan Beam
On 2016/06/20 21:34:46, michaelpg wrote: > On 2016/06/20 21:05:28, Dan Beam wrote: > > <3 ...
4 years, 6 months ago (2016-06-20 23:27:06 UTC) #5
michaelpg
test added, function tweaked. PTAL. https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler.cc#newcode111 chrome/browser/browser_about_handler.cc:111: return true; // Prevent ...
4 years, 6 months ago (2016-06-21 03:17:47 UTC) #7
Dan Beam
lgtm https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler_unittest.cc File chrome/browser/browser_about_handler_unittest.cc (right): https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler_unittest.cc#newcode9 chrome/browser/browser_about_handler_unittest.cc:9: #include <memory> nit: #include <utility> for std::move() https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler_unittest.cc#newcode33 ...
4 years, 6 months ago (2016-06-21 05:24:45 UTC) #9
Lei Zhang
nitty rs lgtm https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler.cc#newcode101 chrome/browser/browser_about_handler.cc:101: } else if (::switches::AboutInSettingsEnabled()) { There's ...
4 years, 6 months ago (2016-06-21 07:54:00 UTC) #10
michaelpg
Thanks all. Landing now for fix, but if you have add'l feedback I'm happy to ...
4 years, 6 months ago (2016-06-21 19:19:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2088473002/130001
4 years, 6 months ago (2016-06-21 19:20:34 UTC) #15
Dan Beam
https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler_unittest.cc File chrome/browser/browser_about_handler_unittest.cc (right): https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler_unittest.cc#newcode33 chrome/browser/browser_about_handler_unittest.cc:33: struct AboutURLTestData { On 2016/06/21 19:19:33, michaelpg wrote: > ...
4 years, 6 months ago (2016-06-21 19:22:50 UTC) #16
Dan Beam
https://codereview.chromium.org/2088473002/diff/130001/chrome/browser/browser_about_handler_unittest.cc File chrome/browser/browser_about_handler_unittest.cc (right): https://codereview.chromium.org/2088473002/diff/130001/chrome/browser/browser_about_handler_unittest.cc#newcode33 chrome/browser/browser_about_handler_unittest.cc:33: struct AboutURLTestCase { sweet, lgtm
4 years, 6 months ago (2016-06-21 19:23:18 UTC) #17
Lei Zhang
https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler.cc File chrome/browser/browser_about_handler.cc (right): https://codereview.chromium.org/2088473002/diff/80001/chrome/browser/browser_about_handler.cc#newcode101 chrome/browser/browser_about_handler.cc:101: } else if (::switches::AboutInSettingsEnabled()) { On 2016/06/21 19:19:33, michaelpg ...
4 years, 6 months ago (2016-06-21 19:30:58 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:130001)
4 years, 6 months ago (2016-06-21 20:26:56 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 20:31:24 UTC) #22
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8e75cccd2ff5224bdd82662d47af49a26e247d39
Cr-Commit-Position: refs/heads/master@{#401092}

Powered by Google App Engine
This is Rietveld 408576698